fix: use arrow operator to access transport pointer members
Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
2
gui.c
2
gui.c
@@ -176,7 +176,7 @@ int gui_main(Engine *engine)
|
||||
}
|
||||
|
||||
/* update engine state */
|
||||
current_beat = g_engine->transport.bar_position * 4 + g_engine->transport.beat_position;
|
||||
current_beat = g_engine->transport->bar_position * 4 + g_engine->transport->beat_position;
|
||||
|
||||
/* render GUI */
|
||||
gui_update();
|
||||
|
||||
Reference in New Issue
Block a user