Sophie

Sophie

distrib > Mageia > 9 > armv7hl > by-pkgid > b35a79c8388b69f2078929e116d7efaf > files > 6

nted-1.10.18-15.mga9.src.rpm

--- nted-1.9.18/chordorrest.cpp.str	2010-02-03 12:17:32.000000000 +0100
+++ nted-1.9.18/chordorrest.cpp	2010-02-03 12:18:23.000000000 +0100
@@ -3672,7 +3672,7 @@
 					strcat(Str, " ");
 					len2 = NedResource::getPartLength(&dotcount);
 				}
-				fprintf(fp, Str);
+				fprintf(fp, "%s", Str);
 				*midi_len = 0;
 			}
 			else {
@@ -3706,7 +3706,7 @@
 				force_length = true;
 			}
 			if (force_length) {
-				fprintf(fp, Str);
+				fprintf(fp, "%s", Str);
 			}
 			exportLilyAccents(fp);
 			if (keep_beams && m_beam) {
@@ -4013,7 +4013,7 @@
 			strcat(Str, " ");
 			len2 = NedResource::getPartLength(&dotcount);
 		}
-		fprintf(fp, Str);
+		fprintf(fp, "%s", Str);
 		*midi_len = 0;
 	}
 	else {
@@ -4070,7 +4070,7 @@
 			strcat(Str, " ");
 			len2 = NedResource::getPartLength(&dotcount);
 		}
-		fprintf(fp, Str);
+		fprintf(fp, "%s", Str);
 		*midi_len = 0;
 	}
 	else {
--- nted-1.9.18/chords/chordpainter.cpp.str	2010-02-03 12:15:40.000000000 +0100
+++ nted-1.9.18/chords/chordpainter.cpp	2010-02-03 12:15:51.000000000 +0100
@@ -461,7 +461,7 @@
 		for (i = 0; i < dotcount; i++) {
 			strcat(Str, ".");
 		}
-		fprintf(fp, Str);
+		fprintf(fp, "%s", Str);
 	}
 	*midi_len = duration;
 	if (mody_name[0] != '\0') {
--- nted-1.9.18/mainwindow.cpp.str	2010-02-03 12:16:09.000000000 +0100
+++ nted-1.9.18/mainwindow.cpp	2010-02-03 12:16:29.000000000 +0100
@@ -3832,8 +3832,8 @@
 		if (m_staff_contexts[i].m_staff_short_name != NULL && strlen(m_staff_contexts[i].m_staff_short_name->getText()) > 0) {
 			fprintf(fp, " \\set Staff.shortInstrumentName = \"%s \"", m_staff_contexts[i].m_staff_short_name->getText());
 		}
-		fprintf(fp, NedResource::getLilyPondClefName(m_staff_contexts[i].m_clef_number));
-		fprintf(fp, NedResource::getLilyPondKeySigName(m_staff_contexts[i].m_key_signature_number));
+		fprintf(fp, "%s", NedResource::getLilyPondClefName(m_staff_contexts[i].m_clef_number));
+		fprintf(fp, "%s", NedResource::getLilyPondKeySigName(m_staff_contexts[i].m_key_signature_number));
 		fprintf(fp, " \\time %d/%d", m_numerator, m_denominator);
 		if (m_upbeat_inverse != 0) {
 			fprintf(fp, " \\partial 64*%d", partial);
--- nted-1.9.18/resource.cpp.str	2010-02-03 12:16:51.000000000 +0100
+++ nted-1.9.18/resource.cpp	2010-02-03 12:17:01.000000000 +0100
@@ -3783,7 +3783,7 @@
 		for (i = 0; i < dotcount; i++) {
 			strcat(Str, ".");
 		}
-		fprintf(fp, Str);
+		fprintf(fp, "%s", Str);
 	}
 	*midi_len = duration;
 	if (chordname->getUpText() != '\0') {