Skip to content

Commit

Permalink
Merge pull request #6 from calorie/fix_build_error_of_#5
Browse files Browse the repository at this point in the history
fix build error of pull request #5
  • Loading branch information
breckinloggins committed Dec 16, 2013
2 parents f6f0d4b + 6a8f781 commit d238be0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ngtembed.c
Expand Up @@ -50,7 +50,7 @@ int ngt_embed(const char* code_template, FILE* out, int argc, char** argv) {
ngt_add_modifier(tpl, "breakup_lines", _breakup_lines_modifier_cb);
ngt_set_delimiters(tpl, "@", "@");
ngt_set_dictionary(tpl, dict);
tpl->template = (char*)code_template;
tpl->tmpl = (char*)code_template;

for (i = 1; i < argc; i++) {
char* p;
Expand Down
2 changes: 1 addition & 1 deletion src/testing/template_test.c
Expand Up @@ -235,7 +235,7 @@ DEFINE_TEST_FUNCTION {
line = 1;

ngt_load_from_file(tpl, in);
read_in_dictionary(dict, tpl->template, &line, 0);
read_in_dictionary(dict, tpl->tmpl, &line, 0);
ngt_set_include_cb(dict, "Callback_Template", get_template_cb, cleanup_template_cb);

ngt_add_modifier(tpl, "modifier", modifier_cb);
Expand Down

0 comments on commit d238be0

Please sign in to comment.