Skip to content

Commit

Permalink
fix log error
Browse files Browse the repository at this point in the history
  • Loading branch information
catriverr committed Sep 17, 2024
1 parent 0a3e77a commit 428b279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bin/gmeng.h
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ static std::string get_filename(string filepath) {
static void _gm_log(const char* file_, int line, const char* func, std::string _msg, bool use_endl = true) {
if ((IS_DISABLED GET_PREF("pref.log", func))
&& !Gmeng::global.dont_hold_back) {
__gmeng_write_log__("gmeng.log", "GET_PREF(" + std::string(func) + ":pref.log) :: " + v_str( (int) GET_PREF("pref.log", func) ) + "\n");
//__gmeng_write_log__("gmeng.log", "GET_PREF(" + std::string(func) + ":pref.log) :: " + v_str( (int) GET_PREF("pref.log", func) ) + "\n");
return;
};
#ifndef __GMENG_ALLOW_LOG__
Expand Down

0 comments on commit 428b279

Please sign in to comment.