remove bname

This commit is contained in:
ehouse 2004-12-18 01:01:47 +00:00
parent df5a6f0265
commit bc7fba9689

View file

@ -25,9 +25,6 @@
#define NUM_COLS 4 #define NUM_COLS 4
/* forward decls */
static XP_UCHAR* bname( XP_UCHAR* in );
static XP_U16 static XP_U16
ceCountLocalIn( HWND hDlg, XP_U16 nPlayers ) ceCountLocalIn( HWND hDlg, XP_U16 nPlayers )
{ {
@ -514,15 +511,3 @@ GameInfo(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
} }
return FALSE; return FALSE;
} /* GameInfo */ } /* GameInfo */
static XP_UCHAR*
bname( XP_UCHAR* in )
{
XP_U16 len = (XP_U16)XP_STRLEN(in);
XP_UCHAR* out = in + len - 1;
while ( *out != '\\' && out >= in ) {
--out;
}
return out + 1;
} /* bname */