File: first_time

package info (click to toggle)
pixmap 2.6.6-1
  • links: PTS
  • area: main
  • in suites: bookworm, sid
  • size: 1,316 kB
  • sloc: ansic: 12,766; makefile: 74
file content (22 lines) | stat: -rw-r--r-- 513 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
Description: declare a type for first_time
 first_time was declared without an explicit type, which gives a warning now.
 .
 pixmap (2.6.6-1) UNRELEASED; urgency=medium
 .
   * New upstream version.
Author: Paul Slootman <paul@debian.org>

---
Last-Update: 2021-11-23

--- pixmap-2.6.6.orig/PixEdit.c
+++ pixmap-2.6.6/PixEdit.c
@@ -1454,7 +1454,7 @@ void DoColorName()
 
 void SwitchImage()
 {
-	static first_time = True;
+	static int first_time = True;
 
     if (image_visible) {
       XtPopdown(image_shell);