# HG changeset patch # User ib # Date 1299587903 0 # Node ID cddc94d28830d8bf0a3c1405f91f7a62e2cb43e9 # Parent ce00479b68cee06f2bb4f2d7ffd32f5d0651a58b Cosmetic: Rename macro controlling the dlabel delay. diff -r ce00479b68ce -r cddc94d28830 gui/mplayer/gui_common.c --- a/gui/mplayer/gui_common.c Tue Mar 08 12:29:44 2011 +0000 +++ b/gui/mplayer/gui_common.c Tue Mar 08 12:38:23 2011 +0000 @@ -435,14 +435,14 @@ d = GetTimerMS() - item->starttime; - if (d < DELAYTIME) + if (d < DLABEL_DELAY) x = item->last_x; // don't scroll yet else { int l; char c[2]; l = (item->textwidth ? item->textwidth : item->width); - x = l - ((d - DELAYTIME) / 20) % l - 1; + x = l - ((d - DLABEL_DELAY) / 20) % l - 1; c[0] = *item->text; c[1] = '\0'; diff -r ce00479b68ce -r cddc94d28830 gui/mplayer/gui_common.h --- a/gui/mplayer/gui_common.h Tue Mar 08 12:29:44 2011 +0000 +++ b/gui/mplayer/gui_common.h Tue Mar 08 12:38:23 2011 +0000 @@ -21,7 +21,7 @@ #include "gui/app.h" -#define DELAYTIME 2500 // in milliseconds +#define DLABEL_DELAY 2500 // in milliseconds void PutImage(txSample *bf, int x, int y, int max, int ofs); void Render(wsTWindow *window, wItem *Items, int nrItems, char *db, int size);