summaryrefslogtreecommitdiff
path: root/devel/anjuta/files/patch-src_breakpoints.c
blob: 460aff3e709da05463e8cac25d56b7ea3e95484c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- breakpoints.c.orig	Wed Apr 14 00:36:58 2004
+++ breakpoints.c	Wed Apr 14 00:37:19 2004
@@ -1409,8 +1409,9 @@
 				ptr1 = strchr (ptr, '\n');
 				if (ptr1)
 				{
-					*ptr1++ = '\0';
 					const gchar condition_prefix[] = "\tstop only if ";
+					const gchar ignore_prefix[] = "\tignore next ";
+					*ptr1++ = '\0';
 					if (g_str_has_prefix (ptr1, condition_prefix))
 					{
 						ptr1 += sizeof(condition_prefix) - 1;
@@ -1418,7 +1419,6 @@
 						ptr1 = strchr (cond, '\n');
 						if (ptr1) *ptr1++ = '\0';
 					}
-					const gchar ignore_prefix[] = "\tignore next ";
 					if (g_str_has_prefix (ptr1, ignore_prefix))
 					{
 						ptr1 += sizeof(ignore_prefix) - 1;