Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.

Commit 12b345a

Browse files
author
Allen Webster
committed
fix project title bug
1 parent 6a8c2e3 commit 12b345a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom/4coder_project_commands.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ CUSTOM_DOC("Looks for a project.4coder file in the current directory and tries t
930930

931931
// NOTE(allen): Set Window Title
932932
Variable_Handle proj_name_var = vars_read_key(prj_var, vars_save_string_lit("project_name"));
933-
String_ID proj_name_id = vars_key_id_from_var(prj_var);
933+
String_ID proj_name_id = vars_key_id_from_var(proj_name_var);
934934
if (proj_name_id != 0){
935935
String8 proj_name = vars_read_string(scratch, proj_name_id);
936936
String8 title = push_u8_stringf(scratch, "4coder project: %.*s", string_expand(proj_name));

0 commit comments

Comments
 (0)