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

Commit 1eff9ea

Browse files
author
Allen Webster
committed
Fix prj 1 -> 2 conversion 'retatlive' option in load paths
1 parent 0c56653 commit 1eff9ea

File tree

3 files changed

+254
-255
lines changed

3 files changed

+254
-255
lines changed

custom/4coder_default_hooks.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,7 @@ default_render_buffer(Application_Links *app, View_ID view_id, Face_ID face_id,
305305
{string_u8_litexpr("NOTE"), finalize_color(defcolor_comment_pop, 0)},
306306
{string_u8_litexpr("TODO"), finalize_color(defcolor_comment_pop, 1)},
307307
};
308-
draw_comment_highlights(app, buffer, text_layout_id,
309-
&token_array, pairs, ArrayCount(pairs));
308+
draw_comment_highlights(app, buffer, text_layout_id, &token_array, pairs, ArrayCount(pairs));
310309
}
311310

312311
#if 0

custom/4coder_prj_v1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ prj_v1_to_v2(Application_Links *app, String8 dir, Config *parsed){
381381
Variable_Handle path_var = vars_new_variable(os_var, key);
382382
vars_new_variable(path_var, path_id, vars_save_string(load_path->path));
383383
vars_new_variable(path_var, recursive_id, load_path->recursive?true_id:false_id);
384-
vars_new_variable(path_var, relative_id, load_path->recursive?true_id:false_id);
384+
vars_new_variable(path_var, relative_id, load_path->relative?true_id:false_id);
385385
}
386386
}
387387

0 commit comments

Comments
 (0)