addes osinfo_* modules
This commit is contained in:
parent
1536415146
commit
a2d78c562c
5 changed files with 437 additions and 9 deletions
|
|
@ -444,8 +444,7 @@ 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 '#':
|
||||
if not isNil(a[num]):
|
||||
add s, a[num]
|
||||
add s, a[num]
|
||||
inc i, 2
|
||||
inc num
|
||||
of '$':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue