anjuta/anjuta-1.2.4a_array-index.patch

12 lines
203 B
Diff

--- src/anjuta-tools.c
+++ src/anjuta-tools.c
@@ -1871,7 +1871,7 @@
{
len = strlen(s[2]);
if (len > 20)
- s[20] = '\0';
+ s[2][20] = '\0';
}
else
s[2] = g_strdup("Undefined");