anjuta/anjuta-1.2.4a_literal-comparsion.patch

12 lines
230 B
Diff

--- src/aneditor.cxx
+++ src/aneditor.cxx
@@ -1807,7 +1807,7 @@
}
}
SString mode = GetMode(language);
- if (mode.c_str() != "")
+ if (mode.c_str()[0] != '\0')
{
SString comment ;
comment += start_stream.c_str() ;