[PATCH] Fix display of blank entries in listview

James Hatheway james at macadamian.com
Tue Apr 17 15:01:30 CDT 2001


Hi guys,


In LISTVIEW_GetItemA, if there was no item text unitialized garbage was
being returned.  This resulted in garbage being placed in blank positions
in listviews.  This patch fixes that, by insuring a blank string is copied
in if no other data is available.


-James

Changelog:
  James Hatheway - james at macadamian.com
  Eliminate unitialized garbage being returned from LISTVIEW_GetItemA

Modified:
  dlls/comctl32/listview.c



--
James Hatheway
Software Designer - Macadamian Technologies, Inc.
james at macadamian.com ~ http://www.macadamian.com

  "Man könnte froh sein, wenn die Luft so rein wäre wie das Bier"
  "One could be happy if the air were as pure as the beer"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: listview_garbage_fix.diff
Type: application/octet-stream
Size: 636 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20010417/cf17faf5/listview_garbage_fix.obj


More information about the wine-patches mailing list