summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/RedSquare.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1/RedSquare.java')
-rwxr-xr-xsrc/demos/es1/RedSquare.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java
index 79a3c26..7541e0f 100755
--- a/src/demos/es1/RedSquare.java
+++ b/src/demos/es1/RedSquare.java
@@ -225,7 +225,7 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo
public static void main(String[] args) {
String glprofile = null;
int type = USE_NEWT ;
- for(int i=args.length-1; i>=0; i--) {
+ for(int i=0; i<args.length; i++) {
if(args[i].equals("-awt")) {
type |= USE_AWT;
}