]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
fix -fsort-operands
authorDale Weiler <weilercdale@gmail.com>
Fri, 9 Jul 2021 18:04:28 +0000 (14:04 -0400)
committerDale Weiler <weilercdale@gmail.com>
Fri, 9 Jul 2021 18:04:28 +0000 (14:04 -0400)
code.cpp

index 645ad257042b5973c20d4b08e5701e7be9e812a0..2cff0ebc15e0dde6c8ebcef773c08e2cdb9eab29 100644 (file)
--- a/code.cpp
+++ b/code.cpp
@@ -80,7 +80,7 @@ void code_push_statement(code_t *code, prog_section_statement_t *stmt_in, lex_ct
             case INSTR_MUL_FV: pair = INSTR_MUL_VF; goto case_pair_gen;
             case INSTR_LT:     pair = INSTR_GT;     goto case_pair_gen;
             case INSTR_GT:     pair = INSTR_LT;     goto case_pair_gen;
-            case INSTR_LE:     pair = INSTR_GT;     goto case_pair_gen;
+            case INSTR_LE:     pair = INSTR_GE;     goto case_pair_gen;
             case INSTR_GE:     pair = INSTR_LE;
 
             case_pair_gen: