| author | Jens Thoms Toerring <jt@toerring.de> | 2017年08月15日 20:11:32 +0200 |
|---|---|---|
| committer | Jens Thoms Toerring <jt@toerring.de> | 2017年08月15日 20:11:32 +0200 |
| commit | 4269be27c02b50c513468696c91e4bdf74f6221c (patch) | |
| tree | cfff08661205de9cfee2307ea684cbd07720c4ce /lib/win.c | |
| parent | 0b8e2868b82e2cf05645d628220fda8751d351d1 (diff) | |
| download | xforms-4269be27c02b50c513468696c91e4bdf74f6221c.tar.gz | |
| -rw-r--r-- | lib/win.c | 6 |
@@ -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円'; |