[Tux4kids-commits] r609 - tuxtype/trunk/src
sreyas-guest at alioth.debian.org
sreyas-guest at alioth.debian.org
Tue Aug 12 06:58:12 UTC 2008
Author: sreyas-guest
Date: 2008-08-12 06:58:10 +0000 (Tue, 12 Aug 2008)
New Revision: 609
Modified:
tuxtype/trunk/src/alphabet.c
Log:
Modified: tuxtype/trunk/src/alphabet.c
===================================================================
--- tuxtype/trunk/src/alphabet.c 2008-08-11 19:14:06 UTC (rev 608)
+++ tuxtype/trunk/src/alphabet.c 2008-08-12 06:58:10 UTC (rev 609)
@@ -1625,6 +1625,11 @@
char buf[10];
tmp[1]='\0';
fp=fopen(fn,"w");
+ if (fp == NULL)
+ {
+ LOG("savekeyboard() - could not open keyboard.lst\n");
+ return 0;
+ }
for(i=0;i<num_chars_used;i++)
{
tmp[0]=keyboard_list[i].unicode_value;
More information about the Tux4kids-commits
mailing list