txlyre 1 rok pred
rodič
commit
02a4eed668
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      makeshot/makeshot.c

+ 1 - 0
makeshot/makeshot.c

@@ -172,6 +172,7 @@ void buffer_append_escaped(buffer_t *buffer, char c) {
   if (strncmp(&text[i], s, k) == 0) {\
     BUFFER_APPEND(buffer, s);\
     BUFFER_APPEND(buffer, s);\
+    i += k-1;\
     break;\
   }\
   temp_buffer = new_buffer();\