uppsrc: OLD_VALUE completely removed, Core/Rpc: Now supports Json parameters and return values

git-svn-id: svn://ultimatepp.org/upp/trunk@5356 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-09-14 11:43:13 +00:00
parent 6b23e0cc78
commit db03281dfb
29 changed files with 98 additions and 1818 deletions

View file

@ -11,7 +11,7 @@ void DrawTextEllipsis(Draw& w, int x, int y, int cx, const wchar *text, const ch
int dtl = 0;
int el = 0;
for(s = ellipsis; *s; s++) {
dtl += f[(byte)*s];
dtl += f[*s];
el++;
}
int l = 0;
@ -20,7 +20,7 @@ void DrawTextEllipsis(Draw& w, int x, int y, int cx, const wchar *text, const ch
l += f[(byte) text[i]];
if(l > cx) {
while(l + dtl > cx && i > 0) {
l -= f[(byte) text[i]];
l -= f[text[i]];
i--;
}
i++;