Got mac building again

master
Allen Webster 2017-11-19 20:38:07 -05:00
parent f15c59c621
commit 12faf0b8c2
2 changed files with 4 additions and 4 deletions

View File

@ -4562,7 +4562,7 @@ step_file_view(System_Functions *system, View *view, Models *models, View *activ
append(&m, "\" size:");
append_int_to_str(&m, settings->pt_size);
append(&m, " hint:");
append(&m, (settings->use_hinting)?"ON ":"OFF");
append(&m, (char*)(settings->use_hinting?"ON ":"OFF"));
if (i == font_id){
append(&m, " *");
@ -4686,9 +4686,9 @@ step_file_view(System_Functions *system, View *view, Models *models, View *activ
}
copy(&m, "Turn Hinting ");
append(&m, settings->use_hinting?"Off":"On");
append(&m, (char*)(settings->use_hinting?"Off":"On"));
append(&m, " (it is currently ");
append(&m, settings->use_hinting?"On":"Off");
append(&m, (char*)(settings->use_hinting?"On":"Off"));
append(&m, ")");
++id.id[0];
if (gui_do_button(target, id, m)){

View File

@ -13,7 +13,7 @@
#include "4ed_defines.h"
#undef inline
#include "4coder_API/version.h"
#include "4coder_API/keycodes.h"
#include "4coder_generated/keycodes.h"
#define IS_OBJC_LAYER
#include "4ed_log.h"