renamed types and constants
This commit is contained in:
@@ -16,7 +16,7 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
|
||||
// get text properties
|
||||
struct text msg = scan_str(argv[1]);
|
||||
TimText_t msg = scan_str(argv[1]);
|
||||
|
||||
while (tim_run(0)) {
|
||||
// calculate size of message box
|
||||
@@ -41,7 +41,7 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
|
||||
// return with 1 when q or esc is pressed
|
||||
if (is_key_press('q') || is_key_press(ESCAPE_KEY)) {
|
||||
if (is_key_press('q') || is_key_press(TimKey_Escape)) {
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user