forked from e16/e16
1
0
Fork 0

Trivial cleanup.

SVN revision: 52548
This commit is contained in:
Kim Woelders 2010-09-21 18:49:30 +00:00
parent 59ea1f071d
commit 1c0f62e99f
1 changed files with 1 additions and 1 deletions

View File

@ -1702,7 +1702,7 @@ EDisplayOpen(const char *dstr, int scr)
char dbuf[256], *s;
unsigned int ddpy, dscr;
Esnprintf(dbuf, sizeof(dbuf), "%.256s", dstr);
Esnprintf(dbuf, sizeof(dbuf), "%s", dstr);
s = strchr(dbuf, ':');
if (!s)
return -1;