openbsd-ports/x11/emelfm2/patches/patch-src_e2_output_c
giovanni 5d9bdf3164 Update to 0.6.0
Regen patches
2009-05-06 16:20:01 +00:00

22 lines
647 B
Plaintext

$OpenBSD: patch-src_e2_output_c,v 1.3 2009/05/06 16:20:01 giovanni Exp $
Don't include ctype, _C macro conflicts. Use glib func instead.
--- src/e2_output.c.orig Thu Apr 30 03:25:57 2009
+++ src/e2_output.c Wed May 6 17:25:13 2009
@@ -40,7 +40,6 @@ ToDo
#include "emelfm2.h"
#include <string.h>
#include <pthread.h>
-#include <ctype.h>
#include "e2_output.h"
#include "e2_dialog.h"
//for pane-text activation
@@ -621,7 +620,7 @@ nextchar:
break;
else if (g_unichar_isspace (d))
break;
- else if (ispunct ((guchar)d))
+ else if (g_ascii_ispunct ((guchar)d))
{
if (!gtk_text_iter_forward_char (&iter))
break;