|
@@ -59,13 +59,13 @@ char *repr(const char *data) {
|
|
|
}
|
|
|
|
|
|
if (c == '\\') {
|
|
|
- memmove(cp, cp + 1, strlen(cp) + 1);
|
|
|
+ memmove(cp + 1, cp, strlen(cp) + 1);
|
|
|
*cp = '\\';
|
|
|
cp += 2;
|
|
|
continue;
|
|
|
}
|
|
|
if (c == '"') {
|
|
|
- memmove(cp, cp + 1, strlen(cp) + 1);
|
|
|
+ memmove(cp + 1, cp, strlen(cp) + 1);
|
|
|
*cp = '\\';
|
|
|
cp += 2;
|
|
|
continue;
|