summaryrefslogtreecommitdiff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index ce83c35..c53233e 100644
--- a/ui.c
+++ b/ui.c
@@ -648,7 +648,7 @@ void file_selector_render(Ted *ted, FileSelector *fs) {
{
const char *cwd = fs->cwd;
const float text_width = text_get_size_vec2(font, cwd).x;
- TextRenderState state = text_render_state_default;
+ TextRenderState state = text_render_state_default;
state.x = bounds.pos.x;
if (text_width > bounds.size.x) {
// very long cwd