From 9b3eb2c75214d87ec696f54642a1d96c291538dc Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 19 Nov 2009 20:14:06 +0200 Subject: modified: watrack_mpd/main.c --- watrack_mpd/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'watrack_mpd/main.c') diff --git a/watrack_mpd/main.c b/watrack_mpd/main.c index a1ce47d..ce225e6 100755 --- a/watrack_mpd/main.c +++ b/watrack_mpd/main.c @@ -140,7 +140,7 @@ void RegisterPlayer() player.GetName = (LPNAMEPROC)GetFileName; player.GetInfo = (LPINFOPROC)GetPlayerInfo; // player.Icon = //TODO:implement icon support - player.Notes = _T("mpd is a nice music player for linux whic have not any gui, just daemon.\nuses very small amount of ram, cpu."); + player.Notes = _T("mpd is a nice music player for *nix whicc have not any gui, just daemon.\nuses very small amount of ram, cpu."); player.URL = "http://www.musicpd.org"; CallService(MS_WAT_PLAYER, (WPARAM)WAT_ACT_REGISTER, (LPARAM)&player); } @@ -204,7 +204,6 @@ int Parser() for(i = 0; ((ptr[i] != '\n') && (ptr[i] != '\0')); i++) tmp[i] = ptr[i]; tmp[i] = '\0'; - SongInfo.mfile = (TCHAR*)mir_utf8decodeW(tmp); } else @@ -235,7 +234,7 @@ int Parser() for(i = 0; ((ptr[i] != '\n') && (ptr[i] != '\0')); i++) tmp[i] = ptr[i]; tmp[i] = '\0'; - if(!strcmp(title, tmp)) + if(strcmp(title, tmp)) Flags |= WAT_EVENT_NEWTRACK; else Flags = 0; @@ -340,6 +339,7 @@ int Parser() } else if(!gbState) gbState = WAT_MES_UNKNOWN; + Flags |= WAT_OPT_CHANGES; return 0; } -- cgit v1.2.3