Have STREQ(a,b)?

2015-03-29 Thread Mooffie
I see many `if (strcmp (a, b) == 0)` in the code. Wouldn't it be nice
if we create a macro and then do `if (STREQ (a,b))` instead?

(Not that it bothers me much. I ask this mainly to verify that my
subscription works and that I can post here ;-)
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: Have STREQ(a,b)?

2015-03-29 Thread Yury V. Zaytsev
On Sun, 2015-03-29 at 18:18 +0300, Mooffie wrote:
 
 I see many `if (strcmp (a, b) == 0)` in the code. Wouldn't it be nice
 if we create a macro and then do `if (STREQ (a,b))` instead?

Nope, because there is no point in that beyond obfuscating the code.

 (Not that it bothers me much. I ask this mainly to verify that my
 subscription works and that I can post here ;-) 

That was clever :-)

-- 
Sincerely yours,
Yury V. Zaytsev


___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel