Separation of certain instructions for better clarity.

This commit is contained in:
Ginger Bill
2016-10-23 15:57:59 +01:00
parent bd5d095de4
commit b454371f3b
6 changed files with 496 additions and 429 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
#import "fmt.odin"
main :: proc() {
fmt.println("Hellope!")
v: {4}f32
v[0] = 123
fmt.println("Hellope!", v, v[0])
}
+2 -1
View File
@@ -46,7 +46,8 @@ make_window :: proc(title: string, msg, height: int, window_proc: win32.WNDPROC)
w: Window
w.width, w.height = msg, height
c_class_name := "Win32-Odin-Window\x00".data
class_name := "Win32-Odin-Window\x00"
c_class_name := class_name.data
if title[title.count-1] != 0 {
w.c_title = to_c_string(title)
} else {