Changeset 1778 for trunk/src/comctl32/treeview.c
- Timestamp:
- Nov 19, 1999, 6:13:32 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/treeview.c
r1776 r1778 1 /* $Id: treeview.c,v 1.1 6 1999-11-19 16:22:01achimha Exp $ */1 /* $Id: treeview.c,v 1.17 1999-11-19 17:13:32 achimha Exp $ */ 2 2 /* Treeview control 3 3 * … … 1708 1708 // TRACE (treeview,"(%p,%s)\n", &tvItem->pszText, tvItem->pszText); 1709 1709 len = lstrlenA (tvItem->pszText)+1; 1710 // AH: Win95 regedit creates items with 10 as the last character 1711 // we don't want that to appear... 1712 if (*(tvItem->pszText + len - 2) == 10) 1713 { 1714 *(tvItem->pszText + len - 2) = 0; 1715 dprintf(("item has character 10 at end, removed: %s\n", tvItem->pszText)); 1716 } 1710 1717 wineItem->pszText= COMCTL32_Alloc (len+1); 1711 1718 lstrcpyA (wineItem->pszText, tvItem->pszText);
Note:
See TracChangeset
for help on using the changeset viewer.