[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdemultimedia/kscd/libwm
From: Alex Kern <alex.kern () gmx ! de>
Date: 2004-07-08 17:43:58
Message-ID: 20040708174358.F0B0A16AFA () office ! kde ! org
[Download RAW message or body]
CVS commit by kernalex:
proper handling
M +6 -3 cdtext.c 1.7
--- kdemultimedia/kscd/libwm/cdtext.c #1.6:1.7
@@ -220,10 +221,12 @@ get_glob_cdtext(struct wm_drive *d, int
cdtext_string *p_componente;
struct cdtext_info_block *lp_block;
- if(!d->proto || d->proto->gen_get_cdtext == NULL || d->proto->gen_get_trackcount == NULL)
+ if(!d->proto || d->proto->gen_get_cdtext == NULL || d->proto->gen_get_trackcount == NULL) {
return NULL;
+ }
- if(!redo)
+ if(!redo && wm_cdtext_info.valid) {
+ wm_lib_message(WM_MSG_LEVEL_DEBUG | WM_MSG_CLASS, "CDTEXT DEBUG: recycle cdtext\n");
return &wm_cdtext_info;
- else
+ } else
free_cdtext_info(&wm_cdtext_info);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic