mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-25 22:35:58 +01:00
litle printf fix
This commit is contained in:
parent
f4148d1b24
commit
37496f4ad4
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ void Debug::log(LogLevel level, std::string msg) {
|
|||
default:
|
||||
break;
|
||||
}
|
||||
printf((msg + "\n").c_str());
|
||||
printf("%s", (msg + "\n").c_str());
|
||||
|
||||
// also log to a file
|
||||
const std::string DEBUGPATH = ISDEBUG ? "/tmp/hypr/hyprd.log" : "/tmp/hypr/hypr.log";
|
||||
|
|
Loading…
Reference in a new issue