ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/xcb/xcb.c
(Generate patch)

Comparing xcb/xcb.c (file contents):
Revision 1.4 by root, Mon Sep 27 14:27:49 2010 UTC vs.
Revision 1.5 by root, Sun Jan 2 20:23:21 2022 UTC

319 0L, 10000000L, False, AnyPropertyType, 319 0L, 10000000L, False, AnyPropertyType,
320 &pt.encoding, &pt.format, &pt.nitems, 320 &pt.encoding, &pt.format, &pt.nitems,
321 &after, &pt.value) != Success || !pt.nitems) 321 &after, &pt.value) != Success || !pt.nitems)
322 return strdup (""); 322 return strdup ("");
323 323
324 if (pt.nitems) 324 if (pt.nitems && pt.format == 8)
325 { 325 {
326 (force_mb ? XmbTextPropertyToTextList : Xutf8TextPropertyToTextList) 326 (force_mb ? XmbTextPropertyToTextList : Xutf8TextPropertyToTextList)
327 (dpy, &pt, &list, &count); 327 (dpy, &pt, &list, &count);
328 328
329 data = strdup (list[0]); 329 data = strdup (list[0]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines