diff --git a/4coder_default_framework.h b/4coder_default_framework.h index a29303de..94e5807e 100644 --- a/4coder_default_framework.h +++ b/4coder_default_framework.h @@ -1048,12 +1048,12 @@ default_4coder_side_by_side_panels(Application_Links *app, char **command_line_f if (file_count > 0){ char *left_name = command_line_files[0]; - int32_t left_len = str_size(name); + int32_t left_len = str_size(left_name); left = buffer_identifier(left_name, left_len); if (file_count > 1){ char *right_name = command_line_files[1]; - int32_t right_len = str_size(name); + int32_t right_len = str_size(right_name); right = buffer_identifier(right_name, right_len); } }