This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
sxiv
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Multiply i_navigate argument with number prefix
master
Bert Münnich
13 years ago
parent
8dcb54705a
commit
c6bddfe838
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
commands.c
+ 2
- 0
commands.c
View File
@@ -118,6 +118,8 @@ bool i_navigate(arg_t a) {
long n = (long) a;
if (mode == MODE_IMAGE) {
if (prefix)
n *= prefix;
n += fileidx;
if (n < 0)
n = 0;
Write
Preview
Loading…
Cancel
Save