summaryrefslogtreecommitdiff
path: root/cad/gwave/patches/patch-af
blob: 99e57e507492b9e319a190cc2b6929179912ed5e (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
$NetBSD: patch-af,v 1.2 2005/12/06 18:25:55 joerg Exp $

--- src/event.c.orig	2002-03-28 01:35:21.000000000 -0500
+++ src/event.c
@@ -148,11 +148,11 @@ set_all_wp_cursors(int cnum)
  */
 XSCM_DEFINE(select_range_x, "select-range-x", 1, 0, 0,
            (SCM proc),
-"Prompt the user to select a range of the visible X axis using 
-button 1 of the mouse.  
-When finished, PROC is called with 3 arguments, the
-WavePanel where the range is located, and the
-begining and ending X pixel value of the selection.")
+"Prompt the user to select a range of the visible X axis using"
+"button 1 of the mouse.  "
+"When finished, PROC is called with 3 arguments, the"
+"WavePanel where the range is located, and the"
+"begining and ending X pixel value of the selection.")
 #define FUNC_NAME s_select_range_x
 {
 	VALIDATE_ARG_PROC(1, proc);
@@ -168,11 +168,11 @@ begining and ending X pixel value of the
 
 XSCM_DEFINE(select_range_y, "select-range-y", 1, 0, 0,
            (SCM proc),
-"Prompt the user to select a range of the visible Y axis using 
-button 1 of the mouse.  
-When finished, PROC is called with 3 arguments, the
-WavePanel where the range is located, and the
-begining and ending Y pixel value of the selection.")
+"Prompt the user to select a range of the visible Y axis using"
+"button 1 of the mouse. " 
+"When finished, PROC is called with 3 arguments, the"
+"WavePanel where the range is located, and the"
+"begining and ending Y pixel value of the selection.")
 #define FUNC_NAME s_select_range_y
 {
 	VALIDATE_ARG_PROC(1, proc);
@@ -188,11 +188,11 @@ begining and ending Y pixel value of the
 
 XSCM_DEFINE(select_range_xy, "select-range-xy", 1, 0, 0,
            (SCM proc),
-"Prompt the user to select a region of the 
-visible XY plane using button 1 of the mouse.  
-When finished, PROC is called with 5 arguments, the
-WavePanel where the range is located, and the
-begining and ending X and Y pixel values of the selection.")
+"Prompt the user to select a region of the "
+"visible XY plane using button 1 of the mouse.  "
+"When finished, PROC is called with 5 arguments, the"
+"WavePanel where the range is located, and the"
+"begining and ending X and Y pixel values of the selection.")
 #define FUNC_NAME s_select_range_xy
 {
 	VALIDATE_ARG_PROC(1, proc);
@@ -449,6 +449,7 @@ button_release_handler(GtkWidget *widget
 		callback_srange();
 		break;
 	default:
+		break;
 	}
 	wtable->mstate = M_NONE;
 	wtable->button_down = -1;