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_win32.c | |
parent | 8d22f01449a0ae7005fc373d1d851057e07cec0c (diff) |
Use g_str_equal instead of strcmp for consistency and ease-of-read
Diffstat (limited to 'skype_messaging_win32.c')
-rw-r--r-- | skype_messaging_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skype_messaging_win32.c b/skype_messaging_win32.c index 54c14ca..f1f74f1 100644 --- a/skype_messaging_win32.c +++ b/skype_messaging_win32.c @@ -215,7 +215,7 @@ is_skype_running() entry.dwSize = sizeof(PROCESSENTRY32); Process32First(snapshot, &entry); do { - if (strcmp("Skype.exe", entry.szExeFile) == 0) + if (g_str_equal("Skype.exe", entry.szExeFile)) { temp = OpenProcess(PROCESS_ALL_ACCESS, FALSE, entry.th32ProcessID); CloseHandle(snapshot); |