diff --git a/Projects/CodeBlocks/SleepyHead.cbp b/Projects/CodeBlocks/SleepyHead.cbp
index 7fe3a609..ae5537c8 100644
--- a/Projects/CodeBlocks/SleepyHead.cbp
+++ b/Projects/CodeBlocks/SleepyHead.cbp
@@ -94,7 +94,10 @@
 					<Add directory="../../src" />
 				</Compiler>
 				<Linker>
-					<Add option="-ftgl;-mwindows;$(shell $(WX_TOOL) --debug=yes --libs --unicode=yes);-m32" />
+					<Add option="-ftgl" />
+					<Add option="-mwindows;" />
+					<Add option="$(shell $(WX_TOOL) --debug=yes --libs --unicode=yes)" />
+					<Add option="-m32" />
 				</Linker>
 			</Target>
 		</Build>
diff --git a/Projects/CodeBlocks/SleepyHead.layout b/Projects/CodeBlocks/SleepyHead.layout
index d5b0ade0..1f8cebd2 100644
--- a/Projects/CodeBlocks/SleepyHead.layout
+++ b/Projects/CodeBlocks/SleepyHead.layout
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 <CodeBlocks_layout_file>
-	<ActiveTarget name="Debug" />
-	<File name="../../src/GUIFrame.cpp" open="0" top="0" tabpos="14">
-		<Cursor position="9298" topLine="156" />
+	<ActiveTarget name="Mac" />
+	<File name="../../src/GUIFrame.cpp" open="1" top="1" tabpos="11">
+		<Cursor position="287" topLine="0" />
 	</File>
 	<File name="../../src/GUIFrame.h" open="0" top="0" tabpos="9">
 		<Cursor position="3128" topLine="50" />
@@ -19,7 +19,7 @@
 	<File name="../../src/graphs/freesans.c" open="1" top="0" tabpos="10">
 		<Cursor position="0" topLine="0" />
 	</File>
-	<File name="../../src/graphs/graph.cpp" open="1" top="1" tabpos="7">
+	<File name="../../src/graphs/graph.cpp" open="1" top="0" tabpos="7">
 		<Cursor position="7841" topLine="271" />
 	</File>
 	<File name="../../src/graphs/graph.h" open="1" top="0" tabpos="8">