Sophie

Sophie

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

nted-1.10.18-15.mga9.src.rpm

--- nted-1.10.18/chords/chordpainter.cpp.orig	2018-04-03 17:54:40.880000000 +0100
+++ nted-1.10.18/chords/chordpainter.cpp	2018-04-03 17:56:08.060000000 +0100
@@ -35,7 +35,7 @@
 					"11", "7sus4", "13", "6add9", "-5", "7-5", "7maj5", "maj9", NULL};
 const unsigned int NedChordPainter::minor[] = {0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 
 					0, 0, 0, 0, 0, 0, 0, 0, 0};
-const char NedChordPainter::addoff[] = {0, 1, -1, 0, 1, -1, 0, 0, 1, -1, 0, 1, -1, 0, 1, -1, 0};
+const signed char NedChordPainter::addoff[] = {0, 1, -1, 0, 1, -1, 0, 0, 1, -1, 0, 1, -1, 0, 1, -1, 0};
 const char *NedChordPainter::modies3[] = {"", "", "dim", "aug", "sus", "6", "7", "maj7", "9", "add9", "6", "7", "maj7", "9", 
 					"11", "7sus4", "13", "6add9", "-5", "7-5", "7maj5", "maj9", NULL};
 const char *NedChordPainter::modies4[] = {"", "m", "dim", "aug", "sus4", "6", "7", "maj7", "9", "", "m6", "m7", "", "m9", 
--- nted-1.10.18/chords/chordpainter.h.orig	2011-01-27 13:09:28.000000000 +0000
+++ nted-1.10.18/chords/chordpainter.h	2018-04-03 17:58:44.140000000 +0100
@@ -44,7 +44,7 @@
 		static const char *modies2[];
 	private:
 		static const unsigned int minor[];
-		static const char addoff[];
+		static const signed char addoff[];
 		static const char *modies3[];
 		static const char *modies4[];
 };
--- nted-1.10.18/staff.cpp.orig	2011-01-27 13:09:44.000000000 +0000
+++ nted-1.10.18/staff.cpp	2018-04-03 20:55:23.072390031 +0000
@@ -42,9 +42,9 @@
 #define X_POS_INVERS_STAFF_REL(p) (((p) / current_scale + leftx) / zoom_factor - (getPage()->getContentXpos()))
 #define Y_POS_STAFF_REL(p) (((p) + getSystem()->getYPos() + getBottomPos()) * zoom_factor - topy)
 
-const char NedStaff::m_sharpPos[7][7] = {
+const signed char NedStaff::m_sharpPos[7][7] = {
 	{8, 5, 9, 6, 3, 7, 4}, {6, 3, 7, 4, 1, 5, 2}, {7, 4, 8, 5, 2, 6, 3}, {3, 0, 4, 1, 5, 2, 6},  {9, 6, 3, 7, 4, 8, 5}, {8, 5, 9, 6, 3, 7, 4}, {6, 3, 7, 4, 1, 5, 2} };
-const char NedStaff::m_flatPos[7][7] = {
+const signed char NedStaff::m_flatPos[7][7] = {
 	{4, 7, 3, 6, 2, 5, 1}, {2, 5, 1, 4, 0, 3, -1}, {3, 6, 2, 5, 1, 4, 0}, {6, 2, 5, 1, 4, 0, 3}, {5, 8, 4, 7, 3, 6, 2}, {4, 7, 3, 6, 2, 5, 1}, {2, 5, 1, 4, 0, 3, -1} };
 
 NedStaff::NedStaff(NedSystem *system, double ypos, double width, int nr, bool start) :
--- nted-1.10.18/staff.h.orig	2011-01-27 13:09:44.000000000 +0000
+++ nted-1.10.18/staff.h	2018-04-03 21:03:37.734997502 +0000
@@ -152,8 +152,8 @@
 		void collectLyrics(NedLyricsEditor *leditor);
 		void setLyrics(NedCommandList *command_list, NedLyricsEditor *leditor);
 		GList *getStaffElements(unsigned long long midi_time);
-		static const char m_sharpPos[7][7];
-		static const char m_flatPos[7][7];
+		static const signed char m_sharpPos[7][7];
+		static const signed char m_flatPos[7][7];
 	private:
 		GList *m_staffelems;
 		NedVoice *m_voices[VOICE_COUNT];