summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/saw/main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/saw/main.c b/source/saw/main.c
index a10af64..b8d79a9 100644
--- a/source/saw/main.c
+++ b/source/saw/main.c
@@ -586,8 +586,7 @@ static void saw_ui_compose(i64 x0, i64 y0, i64 width, i64 height) {
if (p->enabled && p->track == track &&
((p->time >= frame && p->time < frame + roll->duration) ||
- (frame >= p->time &&
- frame < p->time + p->time + p->duration))) {
+ (frame >= p->time && frame < p->time + p->duration))) {
collision = 1;
break;
}
@@ -1982,7 +1981,7 @@ sapp_desc sokol_main(i32 argc, char **argv) {
printf("Unknown command line argument: \"%s\"\n", argv[i]);
if (print_version) {
- printf("saw %d.%d.%d"
+ printf("Saw v%d.%d.%d"
#if SAW_VERSION_DEV
"_dev"
#endif
@@ -1997,7 +1996,7 @@ sapp_desc sokol_main(i32 argc, char **argv) {
fflush(stdout);
return (sapp_desc) {
- .window_title = "saw",
+ .window_title = "Saw",
.width = 1280,
.height = 720,
.init_cb = saw_init,