Commit 325efac2 authored by thomie's avatar thomie

Fix `hp2ps -i-`

From the help text:
  -i[+|-] sort by identifier string (-i+ gives greatest on top)

Found by David Binderman.
parent 14c4090e
...@@ -86,6 +86,7 @@ int main(int argc, char *argv[]) ...@@ -86,6 +86,7 @@ int main(int argc, char *argv[])
switch( *(*argv + 1) ) { switch( *(*argv + 1) ) {
case '-': case '-':
iflag = -1; iflag = -1;
break;
case '+': case '+':
default: default:
iflag = 1; iflag = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment