aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Serpell <daniel.serpell@gmail.com>2019-12-19 21:36:06 -0300
committerDaniel Serpell <daniel.serpell@gmail.com>2019-12-19 21:36:06 -0300
commit3cdd57792a6c8e8a3bfa88671b19ae0bec70e8fb (patch)
treeab228ad88585576f0ce552777f0016b4e64bfe53
parente6d4307db95877c03d153845cc70f47f3eed3e58 (diff)
downloademu2-3cdd57792a6c8e8a3bfa88671b19ae0bec70e8fb.tar.gz
Fixes parsing of glob patterns in the filename extension.
-rw-r--r--src/dos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dos.c b/src/dos.c
index dcbc53b..1af4dc0 100644
--- a/src/dos.c
+++ b/src/dos.c
@@ -1066,7 +1066,7 @@ void int21()
dst[i] = ' ';
break;
}
- else if(c == '*' && i <= 9)
+ else if(c == '*' && i < 9)
{
for(; i < 9; i++)
dst[i] = '?';
Un proyecto texto-plano.xyz