Skip to content

Commit 6cccedc

Browse files
authored
fix: Change enum BTF_HIDEMOREBUTTON from 0x006 to 0x400, otherwise it will conflict with BTF_ATTACHREPORT. (bchavez#44)
* fix: Change enum BTF_HIDEMOREBUTTON from 0x006 to 0x400, otherwise it will conflict with BTF_ATTACHREPORT. * fix: revert file encoding change and add a comma to last enum flag.
1 parent 0016026 commit 6cccedc

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

source/Client/BugTrap.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,6 @@ typedef enum BUGTRAP_FLAGS_tag
105105
* provider.
106106
*/
107107
BTF_ATTACHREPORT = 0x004,
108-
/**
109-
* @brief By default BugTrap show a "More..." button to open
110-
* the advanced ui in the simple dialog. Enable this flag
111-
* hide the button.
112-
*/
113-
BTF_HIDEMOREBUTTON = 0x006,
114108
/**
115109
* @brief Set this flag to add list of all processes and loaded
116110
* modules to the report. Disable this option to speedup report
@@ -160,7 +154,13 @@ typedef enum BUGTRAP_FLAGS_tag
160154
* @brief Automatically restart the application after the crash has been
161155
* handled.
162156
*/
163-
BTF_RESTARTAPP = 0x200
157+
BTF_RESTARTAPP = 0x200,
158+
/**
159+
* @brief By default BugTrap show a "More..." button to open
160+
* the advanced ui in the simple dialog. Enable this flag
161+
* hide the button.
162+
*/
163+
BTF_HIDEMOREBUTTON = 0x400,
164164
}
165165
BUGTRAP_FLAGS;
166166

source/Examples/BugTrapTest/BugTrapTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ CBugTrapTestApp::CBugTrapTestApp()
3232
// Setup exception handler
3333
BT_SetAppName(_T("BugTrap Test"));
3434
BT_SetSupportEMail(_T("your@email.com"));
35-
BT_SetFlags(BTF_DETAILEDMODE | BTF_EDITMAIL | BTF_ATTACHREPORT| BTF_SCREENCAPTURE);
35+
BT_SetFlags(BTF_DETAILEDMODE | BTF_EDITMAIL | BTF_ATTACHREPORT | BTF_SCREENCAPTURE);
3636
BT_SetSupportURL(_T("http://www.intellesoft.net"));
3737

3838
// = BugTrapServer ===========================================

0 commit comments

Comments
 (0)