Skip to content

Commit

Permalink
adapt to Visual Studio 2012
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Jul 14, 2019
1 parent 4c91649 commit f28bbc3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
24 changes: 17 additions & 7 deletions src/MItemSearchDlg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,24 @@ class MItemSearchDlg;
struct ITEM_SEARCH
{
ResToText res2text;
BOOL bIgnoreCases = TRUE;
BOOL bDownward = TRUE;
BOOL bInternalText = TRUE;
BOOL bRunning = FALSE;
BOOL bCancelled = FALSE;
BOOL bIgnoreCases;
BOOL bDownward;
BOOL bInternalText;
BOOL bRunning;
BOOL bCancelled;
MString strText;
EntryBase *pCurrent = NULL;
EntryBase *pFound = NULL;
EntryBase *pCurrent;
EntryBase *pFound;
ITEM_SEARCH()
{
bIgnoreCases = TRUE;
bDownward = TRUE;
bInternalText = TRUE;
bRunning = FALSE;
bCancelled = FALSE;
pCurrent = NULL;
pFound = NULL;
}
};

class MItemSearchDlg : public MDialogBase
Expand Down
6 changes: 3 additions & 3 deletions src/Res.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ struct EntryBase
EntryType m_et; // entry type
MIdOrString m_type; // resource type
MIdOrString m_name; // resource name
WORD m_lang = BAD_LANG; // resource language
HTREEITEM m_hItem = NULL; // treeview item handle
bool m_valid = true; // "is it valid?" flag
WORD m_lang; // resource language
HTREEITEM m_hItem; // treeview item handle
bool m_valid; // "is it valid?" flag
data_type m_data; // the item data
MStringW m_strLabel; // the label string

Expand Down

0 comments on commit f28bbc3

Please sign in to comment.