diff options
-rw-r--r-- | unprotbas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unprotbas.c b/unprotbas.c index bef530f..8dc6844 100644 --- a/unprotbas.c +++ b/unprotbas.c @@ -304,8 +304,8 @@ int rebuild_vntable(int write) { } else { varname -= 26; if(write) { - data[vp++] = 'A' + ((varname - 26) / 9); - data[vp] = ('1' + ((varname - 26) % 9)); + data[vp++] = 'A' + varname / 9; + data[vp] = '1' + varname % 9; } size += 2; } |