OSDN Git Service

BOOL -> bool
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Thu, 16 Mar 2023 11:47:37 +0000 (20:47 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Thu, 16 Mar 2023 11:47:37 +0000 (20:47 +0900)
Src/DirFilterDlg.h
Src/SubeditList.cpp
Src/SubeditList.h

index 2478c46..727f96d 100644 (file)
@@ -39,5 +39,5 @@ public:
        CString m_sReportFile; /**< Report filename string */
        CComboBox m_ctlStyle; /**< Report type control */
        REPORT_TYPE m_nReportType; /**< Report type integer */
-       BOOL m_bCopyToClipboard; /**< Do we copy report to clipboard? */
+       bool m_bCopyToClipboard; /**< Do we copy report to clipboard? */
 };
index 17dcf52..a5c2bfe 100644 (file)
@@ -582,7 +582,7 @@ void CInPlaceEdit::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
        if( nChar == VK_ESCAPE || nChar == VK_RETURN)
        {
                if( nChar == VK_ESCAPE )
-                       m_bESC = TRUE;
+                       m_bESC = true;
                GetParent()->SetFocus();
                return;
        }
@@ -710,7 +710,7 @@ void CInPlaceComboBox::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
        if (nChar == VK_ESCAPE || nChar == VK_RETURN)
        {
                if (nChar == VK_ESCAPE)
-                       m_bESC = TRUE;
+                       m_bESC = true;
                GetParent()->SetFocus();
                return;
        }
index 9913582..0ae0783 100644 (file)
@@ -44,7 +44,7 @@ private:
        int m_iItem;
        int m_iSubItem;
        CString m_sInitText;
-       BOOL    m_bESC;         // To indicate whether ESC key was pressed
+       bool    m_bESC;         // To indicate whether ESC key was pressed
 };
  
 class CInPlaceComboBox : public CComboBox
@@ -85,7 +85,7 @@ private:
        int m_iSubItem;
        CString m_sInitText;
        std::vector<String> m_list;
-       BOOL    m_bESC;         // To indicate whether ESC key was pressed
+       bool    m_bESC;         // To indicate whether ESC key was pressed
 };
  
 class CSubeditList : public CListCtrl