[MPlayer-cvslog] r37110 - trunk/gui/ui/render.c
ib
subversion at mplayerhq.hu
Sat Mar 29 15:21:45 CET 2014
Author: ib
Date: Sat Mar 29 15:21:45 2014
New Revision: 37110
Log:
Simplify string termination.
Modified:
trunk/gui/ui/render.c
Modified: trunk/gui/ui/render.c
==============================================================================
--- trunk/gui/ui/render.c Sat Mar 29 15:09:14 2014 (r37109)
+++ trunk/gui/ui/render.c Sat Mar 29 15:21:45 2014 (r37110)
@@ -483,7 +483,7 @@ void RenderAll(wsWindow *window, guiItem
l = (item->textwidth ? item->textwidth : item->width);
x = (l ? l - ((d - DLABEL_DELAY) / 20) % l - 1 : 0);
c[0] = *item->text;
- c[1] = '\0';
+ c[1] = 0;
if (x < (fntTextWidth(item->fontid, c) + 1) >> 1) {
item->starttime = GetTimerMS(); // stop again
More information about the MPlayer-cvslog
mailing list