Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e4d7b5e

Browse files
committed
Changed for the new preference resource version.
1 parent 31e2d73 commit e4d7b5e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Mac/Include/pythonresources.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
7171
#define OPT_KEEPNORMAL 8
7272
#define OPT_KEEPERROR 9
7373
#define OPT_CMDLINE 10
74-
#define OPT_OLDEXC 13
74+
#define OPT_TABWARN 13
7575
#define OPT_NOSITE 14
76-
#define OPT_HELP 16
76+
#define OPT_HELP 15
77+
#define OPT_NONAVSERV 16
7778

7879
/* Dialog for 'No preferences directory' */
7980
#define NOPREFDIR_ID BASE_ID+5
@@ -143,7 +144,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
143144
#define POPT_KEEPERR 6
144145
#endif
145146

146-
#define POPT_VERSION_CURRENT 4 /* Current version number */
147+
#define POPT_VERSION_CURRENT 5 /* Current version number */
147148

148149
#ifndef rez
149150
typedef struct PyMac_PrefRecord {
@@ -157,8 +158,9 @@ typedef struct PyMac_PrefRecord {
157158
unsigned char keep_error;
158159
unsigned char nointopt;
159160
unsigned char noargs;
160-
unsigned char oldexc;
161+
unsigned char tabwarn;
161162
unsigned char nosite;
163+
unsigned char nonavservice;
162164
} PyMac_PrefRecord;
163165
#endif
164166

0 commit comments

Comments
 (0)