mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-11-08 06:35:58 +01:00
header: use formatting for ::error()
This commit is contained in:
parent
9e7a3b3139
commit
c8c2151c60
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ class {} {{
|
|||
|
||||
// send an error
|
||||
void error(uint32_t error, const std::string& message) {{
|
||||
wl_resource_post_error(pResource, error, message.c_str());
|
||||
wl_resource_post_error(pResource, error, "%s", message.c_str());
|
||||
}}
|
||||
|
||||
// send out of memory
|
||||
|
|
Loading…
Reference in a new issue