Skip to content
Snippets Groups Projects
Commit 3657ad5a authored by Miller Puckette's avatar Miller Puckette
Browse files

0.41-0 release

parent 2f51807d
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ extern "C" { ...@@ -11,7 +11,7 @@ extern "C" {
#define PD_MAJOR_VERSION 0 #define PD_MAJOR_VERSION 0
#define PD_MINOR_VERSION 41 #define PD_MINOR_VERSION 41
#define PD_BUGFIX_VERSION 0 #define PD_BUGFIX_VERSION 0
#define PD_TEST_VERSION "test12" #define PD_TEST_VERSION ""
/* old name for "MSW" flag -- we have to take it for the sake of many old /* old name for "MSW" flag -- we have to take it for the sake of many old
"nmakefiles" for externs, which will define NT and not MSW */ "nmakefiles" for externs, which will define NT and not MSW */
......
...@@ -20,6 +20,9 @@ ...@@ -20,6 +20,9 @@
#include "m_pd.h" #include "m_pd.h"
#include "s_stuff.h" #include "s_stuff.h"
#include <stdio.h> #include <stdio.h>
#ifdef _MSC_VER /* This is only for Microsoft's compiler, not cygwin, e.g. */
#define snprintf sprintf_s
#endif
typedef void (*t_xxx)(void); typedef void (*t_xxx)(void);
......
...@@ -169,7 +169,11 @@ int sys_fontheight(int fontsize) ...@@ -169,7 +169,11 @@ int sys_fontheight(int fontsize)
} }
int sys_defaultfont; int sys_defaultfont;
#ifdef MSW
#define DEFAULTFONT 12
#else
#define DEFAULTFONT 10 #define DEFAULTFONT 10
#endif
static void openit(const char *dirname, const char *filename) static void openit(const char *dirname, const char *filename)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment