pkgsrc/cad/gwave/patches/patch-af

63 lines
2.4 KiB
Text

$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;