openbsd-ports/games/eboard/patches/patch-help_cc
fgsch 5fc0149b44 use the patch the author actually commited.
tested on macppc by pvalchev@.
2002-12-14 23:46:29 +00:00

14 lines
372 B
Plaintext

$OpenBSD: patch-help_cc,v 1.2 2002/12/14 23:46:29 fgsch Exp $
--- help.cc.orig Wed Sep 25 22:11:53 2002
+++ help.cc Sat Dec 14 09:02:53 2002
@@ -332,7 +332,8 @@ namespace Help {
if (strchr(tags,*p)) {
if (p-q) gtk_text_insert(GTK_TEXT(text),f,pc,0,q,p-q);
- for(q=p;*q < 0;q++) ;
+ for(q=p;!strchr(tags,*q);q++) ;
+
switch(*p) {
case '\200': f=fl; break;