File: forms-arguments.patch

package info (click to toggle)
kali 3.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 716 kB
  • sloc: ansic: 3,502; makefile: 61
file content (26 lines) | stat: -rw-r--r-- 810 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 505c5d84b88542141a031930b1a8bf7f9d02c829 Mon Sep 17 00:00:00 2001
From: John Lapeyre <lapeyre@physics.arizona.edu>
Date: Mon, 27 Jan 2014 07:47:09 +0000
Subject: fl_show_question only takes two arguments

Forwarded: no
Last-Update: 2024-07-03

Patch-Name: forms-arguments.patch
---
 callbacks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/callbacks.c b/callbacks.c
index 45cd588..9b0d2aa 100644
--- a/callbacks.c
+++ b/callbacks.c
@@ -358,7 +358,7 @@ void PrintProc(FL_OBJECT *obj, long val)
   char *printer = getenv("PRINTER");
   sprintf(quest, "Do you really want to print this on the \"%s\" printer?",
 	  printer);
-  if (fl_show_question(quest,"","")) {
+  if (fl_show_question(quest, 0)) {
     FILE *p;
     p = popen(" lpr ","w");
     PrintOut(p, sym, sym_rect, Lines);