anjuta/anjuta-invalid-comparison.patch

12 lines
452 B
Diff

--- plugins/language-support-cpp-java/plugin.c.orig 2008-02-05 10:04:28.000000000 +0100
+++ plugins/language-support-cpp-java/plugin.c 2008-02-05 10:05:15.000000000 +0100
@@ -555,7 +555,7 @@ extract_mode_line (const gchar *comment_
/* Check for escape characters */
while (end_modeline)
{
- if ((end_modeline - 1) != "\\")
+ if (*(end_modeline - 1) != '\\')
break;
end_modeline++;
end_modeline = strstr (end_modeline, ":");