Skip to content

Commit 26548cd

Browse files
circumvented bug in guiprefs that prevented Pd from starting up in MSWindows
1 parent 9dbecb5 commit 26548cd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/m_pd.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ extern "C" {
1111
#define PD_MAJOR_VERSION 0
1212
#define PD_MINOR_VERSION 43
1313
#define PD_BUGFIX_VERSION 1
14-
#define PD_TEST_VERSION "test3"
14+
#define PD_TEST_VERSION "test4"
1515

1616
/* old name for "MSW" flag -- we have to take it for the sake of many old
1717
"nmakefiles" for externs, which will define NT and not MSW */

tcl/pd_guiprefs.tcl

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ proc ::pd_guiprefs::init {} {
3232
# assign gui preferences
3333
# osx special case for arrays
3434
set arr [expr { $::windowingsystem eq "aqua" }]
35-
set ::recentfiles_list [get_config $::recentfiles_domain $::recentfiles_key $arr]
35+
set ::recentfiles_list ""
36+
catch {set ::recentfiles_list [get_config $::recentfiles_domain \
37+
$::recentfiles_key $arr]}
3638
}
3739

3840
proc init_aqua {} {

0 commit comments

Comments
 (0)