fixed tab problems when parsing commands (bug: #897177)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1682
This commit is contained in:
parent
a165df8acb
commit
2a1cee61e1
2 changed files with 13 additions and 8 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: shell.h,v 1.2 2004-01-10 14:03:33 qbix79 Exp $ */
|
||||
/* $Id: shell.h,v 1.3 2004-02-18 15:31:13 qbix79 Exp $ */
|
||||
|
||||
#ifndef SHELL_H_
|
||||
#define SHELL_H_
|
||||
|
@ -119,7 +119,7 @@ struct SHELL_Cmd {
|
|||
|
||||
static inline void StripSpaces(char*&args)
|
||||
{
|
||||
while(*args && (*args == ' '))
|
||||
while(*args && ((*args == ' ') || (*args == '\t')))
|
||||
args++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue