Lots of minor clean-ups - xforms.git - xforms

index : xforms.git
xforms
summary refs log tree commit diff
path: root/lib/win.c
diff options
context:
space:
mode:
authorJens Thoms Toerring <jt@toerring.de>2017年08月15日 20:11:32 +0200
committerJens Thoms Toerring <jt@toerring.de>2017年08月15日 20:11:32 +0200
commit4269be27c02b50c513468696c91e4bdf74f6221c (patch)
treecfff08661205de9cfee2307ea684cbd07720c4ce /lib/win.c
parent0b8e2868b82e2cf05645d628220fda8751d351d1 (diff)
downloadxforms-4269be27c02b50c513468696c91e4bdf74f6221c.tar.gz
Lots of minor clean-ups
Diffstat (limited to 'lib/win.c')
-rw-r--r--lib/win.c 6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/win.c b/lib/win.c
index ce7c7e4..7148984 100644
--- a/lib/win.c
+++ b/lib/win.c
@@ -339,7 +339,7 @@ fl_winaspect( Window win,
if ( x <= 0 || y <= 0 )
{
- M_err( "fl_winaspect", "Bad aspect ratio" );
+ M_err( __func__, "Bad aspect ratio" );
return;
}
@@ -541,7 +541,7 @@ wait_mapwin( Window win )
if ( ! ( st_xswa.event_mask & StructureNotifyMask ) )
{
- M_err( "wait_mapwin", "XForms improperly initialized" );
+ M_err( __func__, "XForms improperly initialized" );
exit( 1 );
}
@@ -585,7 +585,7 @@ get_machine_name( Display * d )
if ( gethostname( machine_name, sizeof machine_name - 1 ) )
{
- M_err( "get_machine_name", "Unable to get host name" );
+ M_err( __func__, "Unable to get host name" );
strcpy( machine_name, DisplayString( d ) );
if ( ( p = strchr( machine_name, ':' ) ) )
*p = '0円';
generated by cgit v1.2.3 (git 2.39.1) at 2025年11月25日 00:18:10 +0000

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