1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

GLideNUI-wtl: fix white space

This commit is contained in:
zilmar 2020-04-27 13:55:40 +09:30 committed by Sergey Lipskiy
parent bea0403d2c
commit bc69499b62

View File

@ -108,14 +108,14 @@ void COsdTab::SelCurrentFont(void)
HTREEITEM hCurrentItem = NULL;
while (tv.item.hItem) {
m_Fonts.GetItem(&tv.item);
m_Fonts.SetItemState(tv.item.hItem, 0, TVIF_STATE | TVIS_SELECTED);
HTREEITEM hChild = m_Fonts.GetChildItem(tv.item.hItem);
m_Fonts.SetItemState(tv.item.hItem, 0, TVIF_STATE | TVIS_SELECTED);
HTREEITEM hChild = m_Fonts.GetChildItem(tv.item.hItem);
HTREEITEM NextItem = m_Fonts.GetNextSiblingItem(tv.item.hItem);
if (hChild != NULL) {
tv.item.hItem = hChild;
while (tv.item.hItem) {
m_Fonts.GetItem(&tv.item);
m_Fonts.SetItemState(tv.item.hItem, 0, TVIF_STATE | TVIS_SELECTED);
m_Fonts.SetItemState(tv.item.hItem, 0, TVIF_STATE | TVIS_SELECTED);
if (Item == CurrentFile)
hCurrentItem = tv.item.hItem;
tv.item.hItem = m_Fonts.GetNextSiblingItem(tv.item.hItem);