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

--- src/breakpoints.c.orig	2004-04-08 06:15:29.000000000 +0200
+++ src/breakpoints.c	2004-06-30 21:04:12.000000000 +0200
@@ -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;