gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnokii/gnokii gnokii.c,1.366,1.367


From: BORBELY Zoltan <address@hidden>
Subject: gnokii/gnokii gnokii.c,1.366,1.367
Date: Tue, 28 Oct 2003 00:30:36 +0000

Update of /cvsroot/gnokii/gnokii/gnokii
In directory subversions:/tmp/cvs-serv5556/gnokii

Modified Files:
        gnokii.c 
Log Message:
sendlogo won't load different logo type


Index: gnokii.c
===================================================================
RCS file: /cvsroot/gnokii/gnokii/gnokii/gnokii.c,v
retrieving revision 1.366
retrieving revision 1.367
diff -C2 -d -r1.366 -r1.367
*** gnokii.c    24 Oct 2003 12:49:05 -0000      1.366
--- gnokii.c    28 Oct 2003 00:30:33 -0000      1.367
***************
*** 1712,1715 ****
--- 1712,1719 ----
        if (loadbitmap(&sms.user_data[0].u.bitmap, argv[2], type) != 
GN_ERR_NONE)
                return -1;
+       if (type != sms.user_data[0].u.bitmap.type) {
+               fprintf(stderr, _("Cannot send logo: specified and loaded 
bitmap type differ!\n"));
+               return -1;
+       }
  
        /* If we are sending op logo we can rewrite network code. */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]