summaryrefslogtreecommitdiff
path: root/editors/gtranslator/patches/patch-ab
blob: 324889f060d02572deaee1c7cfd74c8db53cbb11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1 2004/12/04 12:01:09 wiz Exp $

--- src/nautilus-string.c.orig	2003-07-06 23:44:18.000000000 +0200
+++ src/nautilus-string.c
@@ -375,7 +375,7 @@ nautilus_str_to_int (const char *string,
 
 	/* Check that all the trailing characters are spaces. */
 	while (*parse_end != '\0') {
-		if (!isspace (*parse_end++)) {
+		if (!isspace (*(unsigned char *)parse_end++)) {
 			return FALSE;
 		}
 	}