diff options
author | rumpf_a@web.de <> | 2010-03-07 23:17:37 +0100 |
---|---|---|
committer | rumpf_a@web.de <> | 2010-03-07 23:17:37 +0100 |
commit | 1536415146a84f0057b47e6d32ec7f108a6df7dc (patch) | |
tree | dbc99b9335a62ba4b5cff0c41ae7ea444412bc12 /lib/pure/strutils.nim | |
parent | f311acc589b86e341d663f7a06f269d0d355c5f7 (diff) | |
download | Nim-1536415146a84f0057b47e6d32ec7f108a6df7dc.tar.gz |
added missing library files
Diffstat (limited to 'lib/pure/strutils.nim')
-rwxr-xr-x | lib/pure/strutils.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim index 724d00ee9..abca79933 100755 --- a/lib/pure/strutils.nim +++ b/lib/pure/strutils.nim @@ -444,7 +444,8 @@ proc addf(s: var string, formatstr: string, a: openarray[string]) = case formatstr[i+1] # again we use the fact that strings # are zero-terminated here of '#': - add s, a[num] + if not isNil(a[num]): + add s, a[num] inc i, 2 inc num of '$': |