shithub: pt2-clone

Download patch

ref: 8843f4c016ad631c4f34a1aa251141129fa29783
parent: 98640ce202055262d24e8326bca113a22a368f46
author: Olav Sørensen <[email protected]>
date: Tue Dec 10 14:59:21 EST 2019

Prevent GCC 9.2.0 warning and add another file extension to .gitignore

--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
 pt_pal_editor/vs2019_project/pt_pal_editor/Release/pt_pal_editor.vcxproj.FileListAbsolute.txt
 vs2019_project/.vs/pt2-clone/v16/.suo
 *.cache
+*.ipch
--- a/src/pt2_mouse.c
+++ b/src/pt2_mouse.c
@@ -4027,8 +4027,10 @@
 					memset((int8_t *)editor.spectrumVolumes, 0, sizeof (editor.spectrumVolumes));
 			}
 
-			     if (editor.ui.visualizerMode == VISUAL_QUADRASCOPE) renderQuadrascopeBg();
-			else if (editor.ui.visualizerMode == VISUAL_SPECTRUM) renderSpectrumAnalyzerBg();
+			if (editor.ui.visualizerMode == VISUAL_QUADRASCOPE)
+				renderQuadrascopeBg();
+			else if (editor.ui.visualizerMode == VISUAL_SPECTRUM)
+				renderSpectrumAnalyzerBg();
 		}
 		break;