More win32 fixes
authorJelmer Vernooij <jelmer@samba.org>
Thu, 19 May 2005 12:09:28 +0000 (13:09 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 19 May 2005 12:09:28 +0000 (13:09 +0100)
ptb2ly.c
win32/ptb.dsp

index 5b77704c96c2d285e6c5ee56b9c13a26182bc91b..cd13275b2320abc67df3a1e6a009d48dacb3224a 100644 (file)
--- a/ptb2ly.c
+++ b/ptb2ly.c
@@ -63,7 +63,7 @@ const char *num_to_string(int num, char *data)
 const char *get_staff_name(int sec_num, int staff_num)
 {
        static char name[30], num[2][30];
-       snprintf(name, sizeof(name), "staff%sx%s", num_to_string(sec_num, num[0]), num_to_string(staff_num, num[1]));
+       sprintf(name, "staff%sx%s", num_to_string(sec_num, num[0]), num_to_string(staff_num, num[1]));
        return name;
 }
 
index ff669a8403dea16bcbbc2c1d6589e92a85b069ec..620c7de8b54fb14c3a3b33c30dff313c510faab2 100644 (file)
@@ -97,6 +97,10 @@ SOURCE=..\gp.h
 # End Source File\r
 # Begin Source File\r
 \r
+SOURCE="..\ptb-tuning.c"\r
+# End Source File\r
+# Begin Source File\r
+\r
 SOURCE=..\ptb.c\r
 # End Source File\r
 # Begin Source File\r