mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
fixed bug in makeGIDBeforeGetterFromList(..)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ff4a0d2cea
commit
3a59838fcd
@ -1000,11 +1000,11 @@ function makeGIDBeforeGetterFromList(get_list, restrict_to_ribbon){
|
|||||||
do {
|
do {
|
||||||
prev = getGIDBefore(gid, list)
|
prev = getGIDBefore(gid, list)
|
||||||
gid = getGIDBefore(prev, ribbon)
|
gid = getGIDBefore(prev, ribbon)
|
||||||
} while(prev != gid && prev != null)
|
} while(prev != gid && prev != null && gid != null)
|
||||||
|
|
||||||
// nothing found before current image...
|
// nothing found before current image...
|
||||||
if(prev == null){
|
if(prev == null || gid == null){
|
||||||
return prev
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
return prev
|
return prev
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user