summaryrefslogtreecommitdiff
path: root/devel/anjuta/patches/patch-ab
blob: 6417cefa9ee06988d3394da87f07e84e111c0fa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ab,v 1.5 2004/06/28 12:32:42 kristerw Exp $

--- src/breakpoints.c.orig	Mon Jun 28 14:11:34 2004
+++ src/breakpoints.c	Mon Jun 28 14:12:49 2004
@@ -1409,8 +1409,10 @@
 				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 +1420,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;