git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ae3bc86
)
fix empty strings
author
Felix Domke
<tmbinc@elitedvb.net>
Sun, 18 Jun 2006 21:10:11 +0000
(21:10 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sun, 18 Jun 2006 21:10:11 +0000
(21:10 +0000)
lib/gdi/font.cpp
patch
|
blob
|
history
diff --git
a/lib/gdi/font.cpp
b/lib/gdi/font.cpp
index f7c1bca5ed59f075bc5b2acb334555ea68e59dd1..77c8de94e373682106f487257cc6d59ae61829f7 100644
(file)
--- a/
lib/gdi/font.cpp
+++ b/
lib/gdi/font.cpp
@@
-470,9
+470,9
@@
int eTextPara::renderString(const char *string, int rflags)
if (string)
uc_string.reserve(strlen(string));
if (string)
uc_string.reserve(strlen(string));
- const char *p = string;
+ const char *p = string
? string : ""
;
- while
(
p)
+ while
(*
p)
{
unsigned int unicode=(unsigned char)*p++;
{
unsigned int unicode=(unsigned char)*p++;