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_carbon2.c | |
parent | 8d22f01449a0ae7005fc373d1d851057e07cec0c (diff) |
Use g_str_equal instead of strcmp for consistency and ease-of-read
Diffstat (limited to 'skype_messaging_carbon2.c')
-rwxr-xr-x | skype_messaging_carbon2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skype_messaging_carbon2.c b/skype_messaging_carbon2.c index d93d5b4..574eb02 100755 --- a/skype_messaging_carbon2.c +++ b/skype_messaging_carbon2.c @@ -300,7 +300,7 @@ IsSkypeRunning(void) 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")) { if (GetProcessPID(&psn, &pid) == noErr) { |