# HG changeset patch # User Pascal Bellard # Date 1635444200 0 # Node ID 9c4b74f41985d937ea07d0c583af23551cb1c323 # Parent c66ce5a33711fcb31c5537b10686dbe5164fe7d4 Up lzsa (1.3.8) diff -r c66ce5a33711 -r 9c4b74f41985 lzsa/receipt --- a/lzsa/receipt Sat Oct 23 15:17:56 2021 +0000 +++ b/lzsa/receipt Thu Oct 28 18:03:20 2021 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="lzsa" -VERSION="1.3.7" +VERSION="1.3.8" CATEGORY="system-tools" SHORT_DESC="Efficient packer optimized for fast decompression on 8-bit cpu." MAINTAINER="pascal.bellard@slitaz.org" diff -r c66ce5a33711 -r 9c4b74f41985 sokojs/stuff/multiset.sh --- a/sokojs/stuff/multiset.sh Sat Oct 23 15:17:56 2021 +0000 +++ b/sokojs/stuff/multiset.sh Thu Oct 28 18:03:20 2021 +0000 @@ -51,8 +51,8 @@ +function urlself() +{ -+ var l = parent.window.location -+ return l.href.substring(0, l.href.length - l.search.length - l.hash.length)+ ++ var l = parent.window.location.href+"?" ++ return l.substring(0, l.search(/[#?]/))+ + "?"+CurSet+"/level"+nbLevel+".htm#"+saved +} + diff -r c66ce5a33711 -r 9c4b74f41985 sokojs/stuff/undo.u --- a/sokojs/stuff/undo.u Sat Oct 23 15:17:56 2021 +0000 +++ b/sokojs/stuff/undo.u Thu Oct 28 18:03:20 2021 +0000 @@ -84,8 +84,8 @@ + d = undoDir(c) + a = manpos - d + if (c != c.toLowerCase()) { -+ if (level[a] == boxin && level[manpos] != boxin) nbBoxin++ -+ if (level[a] != boxin && level[manpos] == boxin) nbBoxin-- ++ if (level[a] == boxin && level[manpos] != dest) nbBoxin++ ++ if (level[a] != boxin && level[manpos] == dest) nbBoxin-- + print_moves(--moves) + level[a] = (level[a] == boxin) ? dest : floor + level[manpos] = (level[manpos] == dest) ? boxin : boxout