mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-01 01:16:03 -04:00
more sequence/order of operations stuff
This commit is contained in:
+5
-2
@@ -21,9 +21,12 @@ class CTServiceWebAPITransaction
|
||||
target[0] = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
int offset = 0;
|
||||
while (offset < length && (target[offset++] = source[offset]));
|
||||
target[length-1] = 0;
|
||||
while (offset < length && (target[(offset+1)] = source[offset])) {
|
||||
target[length-1] = 0;
|
||||
offset++;
|
||||
}
|
||||
}
|
||||
typedef unsigned short uchar_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user