Am 23.05.2014 07:44, schrieb Alan Coopersmith:
> On 05/21/14 03:17 PM, Thomas Klausner wrote:
>> From: Jörg Sonnenberger <[email protected]>
>>
>> Signed-off-by: Thomas Klausner <[email protected]>
>> ---
>>   handler.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/handler.c b/handler.c
>> index e61687e..87a928e 100644
>> --- a/handler.c
>> +++ b/handler.c
>> @@ -320,7 +320,7 @@ SaveFormattedPage(Widget w, XEvent * event, String
>> * params,
>>    * If we are not active then take no action.
>>    */
>>
>> -    if (man_globals->tempfile == NULL)
>> +    if (man_globals->tempfile[0] == '\0')
>>           return;
>>
>>       switch (params[0][0]) {
>>
> 
> Reviewed-by: Alan Coopersmith <[email protected]>
> 

Hi,
IMHO this is not equal, can you explain that NULL is not possible ?

re,
 wh
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to