13 lines
381 B
Diff
13 lines
381 B
Diff
|
diff -ruN paps-0.6.6.orig/src/paps.c paps-0.6.6/src/paps.c
|
||
|
--- paps-0.6.6.orig/src/paps.c 2006-05-25 15:12:02.000000000 +0900
|
||
|
+++ paps-0.6.6/src/paps.c 2006-05-25 15:15:58.000000000 +0900
|
||
|
@@ -453,7 +453,7 @@
|
||
|
GList *result = NULL;
|
||
|
char *last_para = text;
|
||
|
|
||
|
- while (*p)
|
||
|
+ while (p != NULL && *p)
|
||
|
{
|
||
|
wc = g_utf8_get_char (p);
|
||
|
next = g_utf8_next_char (p);
|