From 1b371a6a00f726fb3c940d92a46ee6b80dff4e1d Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Mon, 2 Feb 2004 19:22:23 +0000 Subject: [PATCH] Cross_filename does something on Win32 too :) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1645 --- include/cross.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/cross.h b/include/cross.h index 135ab1dd..c2e830b5 100644 --- a/include/cross.h +++ b/include/cross.h @@ -16,6 +16,8 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* $Id: cross.h,v 1.7 2004-02-02 19:22:23 qbix79 Exp $ */ + #ifndef _CROSS_H #define _CROSS_H @@ -37,7 +39,7 @@ #if defined (WIN32) /* Win 32 */ -#define CROSS_FILENAME(blah) +#define CROSS_FILENAME(blah) {if(blah && *blah && (blah[strlen(blah)-1] == '\\')) strcat(blah,".");} #define CROSS_FILESPLIT '\\' #define F_OK 0 #else