File THE-3.1-same-variable-used-twice.patch of Package the

diff -Naur THE-3.1.org/commutil.c THE-3.1/commutil.c
--- THE-3.1.org/commutil.c	2007-01-18 13:27:04.915507000 +0100
+++ THE-3.1/commutil.c	2007-01-18 13:28:50.796517000 +0100
@@ -2345,7 +2345,7 @@
       return;
    }
    if (number_cmds == MAX_SAVED_COMMANDS)
-      current_cmd = last_cmd = (last_cmd == MAX_SAVED_COMMANDS-1) ? 0 : ++last_cmd;
+      current_cmd = last_cmd = (last_cmd == MAX_SAVED_COMMANDS-1) ? 0 : last_cmd + 1;
    else
       current_cmd = ++last_cmd;
    strcpy((DEFCHAR *)cmd_history[current_cmd],(DEFCHAR *)new_cmd);
diff -Naur THE-3.1.org/edit.c THE-3.1/edit.c
--- THE-3.1.org/edit.c	2007-01-18 13:27:04.941480000 +0100
+++ THE-3.1/edit.c	2007-01-18 13:27:21.584816000 +0100
@@ -154,7 +154,7 @@
    if (current_key == -1)
       current_key = 0;
    else
-      current_key = (current_key == 7) ? 0 : current_key++;
+      current_key = (current_key == 7) ? 0 : current_key + 1;
    lastkeys[current_key] = key;
    rc = function_key(key,OPTION_NORMAL,mouse_details_present);
    if (number_of_files == 0)
diff -Naur THE-3.1.org/query.c THE-3.1/query.c
--- THE-3.1.org/query.c	2007-01-18 13:27:05.116305000 +0100
+++ THE-3.1/query.c	2007-01-18 13:28:01.524838000 +0100
@@ -6763,7 +6763,7 @@
    if (current_key == -1)
       current_key = 0;
    else
-      current_key = current_key == 8 ? 0 : current_key++;
+      current_key = current_key == 8 ? 0 : current_key + 1;
    lastkeys[current_key] = key;
    set_key_values(key,mouse_key);
    return number_variables;