mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 20:54:56 +00:00
freesweep has a new version in development and it seems to be usable, let's update to it. I included a few patches to allow it to build with and without mlibc (which I'm working on in #371092).
14 lines
367 B
Diff
14 lines
367 B
Diff
diff --git a/logs.c b/logs.c
|
|
index 5e87f52..29ad433 100644
|
|
--- a/logs.c
|
|
+++ b/logs.c
|
|
@@ -128,7 +128,7 @@ static void log_display(const char *mesg) {
|
|
// Display the message on the screen.
|
|
if (log_win) {
|
|
wclear(log_win);
|
|
- mvwprintw(log_win, 0, 0, mesg);
|
|
+ mvwprintw(log_win, 0, 0, "%s", mesg);
|
|
wnoutrefresh(log_win);
|
|
wrefresh(log_win);
|
|
}
|