Mercurial > mplayer.hg
changeset 32964:cddc94d28830
Cosmetic: Rename macro controlling the dlabel delay.
author | ib |
---|---|
date | Tue, 08 Mar 2011 12:38:23 +0000 |
parents | ce00479b68ce |
children | 3242637f94b6 |
files | gui/mplayer/gui_common.c gui/mplayer/gui_common.h |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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';
--- 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);