Mercurial > audlegacy-plugins
comparison src/statusicon/si_ui.c @ 1053:149fc284aa86 trunk
[svn] - statusicon: strenghten checks before last strcmp in si_ui_statusicon_cb_hook_tchange
author | giacomo |
---|---|
date | Tue, 22 May 2007 01:56:51 -0700 |
parents | 9f0ac3bb82f4 |
children | 2d6a00ed166f |
comparison
equal
deleted
inserted
replaced
1052:61723217c8cc | 1053:149fc284aa86 |
---|---|
259 if ( prevs->filename != NULL ) | 259 if ( prevs->filename != NULL ) |
260 g_free(prevs->filename); | 260 g_free(prevs->filename); |
261 prevs->filename = g_strdup(pl_entry->filename); | 261 prevs->filename = g_strdup(pl_entry->filename); |
262 } | 262 } |
263 } | 263 } |
264 else if ( ( prevs->title != NULL ) && ( strcmp(pl_entry->title,prevs->title) ) ) | 264 else if ( ( prevs->title != NULL ) && |
265 ( pl_entry->title != NULL ) && | |
266 ( strcmp(pl_entry->title,prevs->title) ) ) | |
265 { | 267 { |
266 g_free(prevs->title); | 268 g_free(prevs->title); |
267 prevs->title = g_strdup(pl_entry->title); | 269 prevs->title = g_strdup(pl_entry->title); |
268 } | 270 } |
269 } | 271 } |