mcabber/src/utils.c
changeset 1452 83e275dca409
parent 1440 72dd9c768f58
child 1458 17e95be6c39b
--- a/mcabber/src/utils.c	Wed Apr 02 21:25:51 2008 +0200
+++ b/mcabber/src/utils.c	Wed Apr 02 22:26:44 2008 +0200
@@ -393,20 +393,16 @@
         instring = !instring;
         strcpy(p, p+1);
         p--;
-      } else {
+      } else
         escape = FALSE;
-      }
     } else if (*p == '\\') {
       if (!escape) {
-        if (*(p+1) == '"') {
-          strcpy(p, p+1);
-          p--;
-        }
-        escape = TRUE;
-      } else {
-        escape = FALSE;
+        strcpy(p, p+1);
+        p--;
       }
-    }
+      escape = !escape;
+    } else
+      escape = FALSE;
   }
 }