cdrom.c: remove_wait_message() properly
...or a funny intermittent effect of "Waiting for 1 -> 2 -> 1 seconds" within that window might appear.
This commit is contained in:
parent
98cd251baf
commit
f1244e8c76
4
cdrom.c
4
cdrom.c
@ -232,6 +232,7 @@ enum return_type cdrom_prepare(void)
|
||||
/* refill medias and medias_models;
|
||||
note that get_medias() leaks memory */
|
||||
get_medias(CDROM, &medias, &medias_models);
|
||||
remove_wait_message();
|
||||
}
|
||||
if ((i = try_automatic(medias, medias_models)) != -1) {
|
||||
if (j) {
|
||||
@ -243,9 +244,6 @@ enum return_type cdrom_prepare(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (j)
|
||||
remove_wait_message();
|
||||
|
||||
ptr = medias;
|
||||
while (ptr && *ptr) {
|
||||
count++;
|
||||
|
Loading…
Reference in New Issue
Block a user