[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-commit] qemacs charset.c
From: |
Charlie Gordon |
Subject: |
[Qemacs-commit] qemacs charset.c |
Date: |
Sat, 29 Mar 2008 17:41:46 +0000 |
CVSROOT: /cvsroot/qemacs
Module name: qemacs
Changes by: Charlie Gordon <chqrlie> 08/03/29 17:41:46
Modified files:
. : charset.c
Log message:
accept NULL in find_charset()
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/charset.c?cvsroot=qemacs&r1=1.19&r2=1.20
Patches:
Index: charset.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/charset.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- charset.c 27 Mar 2008 07:27:07 -0000 1.19
+++ charset.c 29 Mar 2008 17:41:46 -0000 1.20
@@ -288,6 +288,9 @@
{
QECharset *charset;
+ if (!name)
+ return NULL;
+
for (charset = first_charset; charset != NULL; charset = charset->next) {
if (!strxcmp(charset->name, name)
|| strcasefind(charset->aliases, name)) {