From 440960c589b12242f96fef790fc8cd704fb25d1e Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 10 Mar 2004 13:35:03 +0000 Subject: [PATCH] Added patch 909837 from JAL Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1709 --- include/shell.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/shell.h b/include/shell.h index 202b90b9..6e4b6d25 100644 --- a/include/shell.h +++ b/include/shell.h @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: shell.h,v 1.3 2004-02-18 15:31:13 qbix79 Exp $ */ +/* $Id: shell.h,v 1.4 2004-03-10 13:35:03 qbix79 Exp $ */ #ifndef SHELL_H_ #define SHELL_H_ @@ -139,7 +139,8 @@ static inline char* ExpandDot(char*args, char* buffer) buffer[1]=0; strcat(buffer,args); return buffer; - } + } else + strcpy (buffer, args); } else strcpy(buffer,args); return buffer;