xforms.git - xforms

index : xforms.git
xforms
summary refs log tree commit diff
path: root/lib/thumbwheel.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thumbwheel.c')
-rw-r--r--lib/thumbwheel.c 9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/thumbwheel.c b/lib/thumbwheel.c
index bf02cc4..fa04261 100644
--- a/lib/thumbwheel.c
+++ b/lib/thumbwheel.c
@@ -319,8 +319,7 @@ fl_get_thumbwheel_value( FL_OBJECT * ob )
#if FL_DEBUG >= ML_ERR
if ( ! IsValidClass( ob, FL_THUMBWHEEL ) )
{
- M_err( "fl_get_thumbwheel_value", "%s is not a thumbwheel",
- ob ? ob->label : "null" );
+ M_err( __func__, "object %s is not a thumbwheel", ob ? ob->label : "" );
return 1.0;
}
#endif
@@ -342,8 +341,7 @@ fl_set_thumbwheel_value( FL_OBJECT * ob,
#if FL_DEBUG >= ML_ERR
if ( ! IsValidClass( ob, FL_THUMBWHEEL ) )
{
- M_err( "fl_set_thumbwheel_value", "%s is not a thumbwheel",
- ob ? ob->label : "null" );
+ M_err( __func__, "object %s is not a thumbwheel", ob ? ob->label : "" );
return 1.0;
}
#endif
@@ -375,8 +373,7 @@ fl_set_thumbwheel_bounds( FL_OBJECT * ob,
#if FL_DEBUG >= ML_ERR
if ( ! IsValidClass( ob, FL_THUMBWHEEL ) )
{
- M_err( "fl_set_thumbwheel_bounds", "%s is not a thumbwheel",
- ob ? ob->label : "null" );
+ M_err( __func__, "object %s is not a thumbwheel", ob ? ob->label : "" );
return;
}
#endif
generated by cgit v1.2.3 (git 2.46.0) at 2025年11月24日 19:18:05 +0000

AltStyle によって変換されたページ (->オリジナル) /