diff options
author | Keith Packard <keithp@keithp.com> | 2013-03-31 12:46:41 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-03-31 12:46:41 -0700 |
commit | d813566cdc4d43a43ed988dde4a3ceeccf24efe6 (patch) | |
tree | be1dd2c806c5155184b2f745c96a247ce8f117a5 /src/drivers/ao_fat.c | |
parent | db01557ce493c435db177fda78653697ba2afa51 (diff) |
altos: Fix command-line FAT filename parsing
Pad extension with spaces
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_fat.c')
-rw-r--r-- | src/drivers/ao_fat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/ao_fat.c b/src/drivers/ao_fat.c index 9cd3d34b..3e9c00b5 100644 --- a/src/drivers/ao_fat.c +++ b/src/drivers/ao_fat.c @@ -1263,6 +1263,8 @@ ao_fat_parse_name(char name[11]) } ao_cmd_lex(); } + while (c < 11) + name[c++] = ' '; } static void |