summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFéry Mathieu (Mathius) <[email protected]>2023-06-18 07:01:30 +0200
committerFéry Mathieu (Mathius) <[email protected]>2023-06-18 07:01:30 +0200
commitfd8ebf543ecc16233c0027c5a38701c11be548c7 (patch)
tree203b63bd1a86d72673b936417c064bb3f1aa1760
parent6aec5c5274d0ffb6662fdc53671b58df23850d89 (diff)
fix(cli): Fix disablePragmaOnce option
Option set enablePragmaOnce to true instead false
-rw-r--r--src/java/com/jogamp/gluegen/GlueGen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/gluegen/GlueGen.java b/src/java/com/jogamp/gluegen/GlueGen.java
index f2a5c6b..e0c42c7 100644
--- a/src/java/com/jogamp/gluegen/GlueGen.java
+++ b/src/java/com/jogamp/gluegen/GlueGen.java
@@ -405,7 +405,7 @@ public class GlueGen implements GlueEmitterControls {
} else if (arg.equals("--enablePragmaOnce")) {
enablePragmaOnce=true;
} else if (arg.equals("--disablePragmaOnce")) {
- enablePragmaOnce=true;
+ enablePragmaOnce=false;
} else {
usage();
}