From: <lu...@us...> - 2008-09-22 08:00:49
|
Revision: 1872 http://macgpg.svn.sourceforge.net/macgpg/?rev=1872&view=rev Author: ludov Date: 2008-09-22 08:00:27 +0000 (Mon, 22 Sep 2008) Log Message: ----------- mac_cmd_handler(): do not try to convert the description if no description is given Modified Paths: -------------- GPGPINEntry/trunk/main.m Modified: GPGPINEntry/trunk/main.m =================================================================== --- GPGPINEntry/trunk/main.m 2008-09-22 07:38:48 UTC (rev 1871) +++ GPGPINEntry/trunk/main.m 2008-09-22 08:00:27 UTC (rev 1872) @@ -67,7 +67,7 @@ [NSApp requestUserAttention: NSCriticalRequest]; } - char converted_description[strlen(pe->description)]; + char converted_description[pe->description ? strlen(pe->description) : 0]; if (pe->description) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |