Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2008-07-20 17:27:32 +0400
committerEion Robb <eion@robbmob.com>2008-07-20 17:27:32 +0400
commit83b0de87d6e9dbd1c233cfab3f6e6e0d6f2b42ea (patch)
tree13941b860be56f38bd16a9f618ff7368c485ddbe /skype_messaging_carbon2.c
parent8d22f01449a0ae7005fc373d1d851057e07cec0c (diff)
Use g_str_equal instead of strcmp for consistency and ease-of-read
Diffstat (limited to 'skype_messaging_carbon2.c')
-rwxr-xr-xskype_messaging_carbon2.c2
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)
{