diff options
author | Eion Robb <eion@robbmob.com> | 2008-07-20 17:27:32 +0400 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2008-07-20 17:27:32 +0400 |
commit | 83b0de87d6e9dbd1c233cfab3f6e6e0d6f2b42ea (patch) | |
tree | 13941b860be56f38bd16a9f618ff7368c485ddbe /skype_messaging_carbon.c | |
parent | 8d22f01449a0ae7005fc373d1d851057e07cec0c (diff) |
Use g_str_equal instead of strcmp for consistency and ease-of-read
Diffstat (limited to 'skype_messaging_carbon.c')
-rw-r--r-- | skype_messaging_carbon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skype_messaging_carbon.c b/skype_messaging_carbon.c index a5c4e7e..915d508 100644 --- a/skype_messaging_carbon.c +++ b/skype_messaging_carbon.c @@ -207,7 +207,7 @@ hide_skype() if (status == noErr) if (GetProcessInformation(&psn, &info) == noErr) //for some reason first character is poisioned - if (strcmp((char *)&procName[1], "Skype") == 0) + if (g_str_equal((char *)&procName[1], "Skype")) { ShowHideProcess(&psn, FALSE); return; |