Skip to content

Commit 5b44743

Browse files
authored
Fix a typo in LwjglWindow (#1953)
1 parent e7eb4d8 commit 5b44743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglWindow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ public void invoke(int error, long description) {
287287
final GLFWVidMode videoMode = glfwGetVideoMode(glfwGetPrimaryMonitor());
288288
int requestWidth = settings.getWindowWidth();
289289
int requestHeight = settings.getWindowHeight();
290-
if (requestWidth <= 0 || requestWidth <= 0) {
290+
if (requestWidth <= 0 || requestHeight <= 0) {
291291
requestWidth = videoMode.width();
292292
requestHeight = videoMode.height();
293293
}

0 commit comments

Comments
 (0)