mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
rename function to link with pocketpc-sdk
This commit is contained in:
parent
97d3deffdd
commit
7d14763d8c
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
/* -*-mode: C; fill-column: 77; c-basic-offset: 4; -*- */
|
/* -*-mode: C; fill-column: 77; c-basic-offset: 4; -*- */
|
||||||
/*
|
/*
|
||||||
* Copyright 2002 by Eric House (xwords@eehouse.org). All rights reserved.
|
* Copyright 2002-2006 by Eric House (xwords@eehouse.org). All rights
|
||||||
|
* reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -51,7 +52,7 @@ wbname( wchar_t* buf, XP_U16 buflen, const wchar_t* in )
|
||||||
int len;
|
int len;
|
||||||
wchar_t* result;
|
wchar_t* result;
|
||||||
|
|
||||||
snwprintf( buf, buflen, L"%s", in );
|
_snwprintf( buf, buflen, L"%s", in );
|
||||||
result = buf + wcslen( buf ) - 1;
|
result = buf + wcslen( buf ) - 1;
|
||||||
|
|
||||||
/* wipe out extension */
|
/* wipe out extension */
|
||||||
|
|
Loading…
Reference in a new issue