wok rev 24134

Up lzsa (1.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 28 18:03:20 2021 +0000 (2021-10-28)
parents c66ce5a33711
children 0b484bb7209b
files lzsa/receipt sokojs/stuff/multiset.sh sokojs/stuff/undo.u
line diff
     1.1 --- a/lzsa/receipt	Sat Oct 23 15:17:56 2021 +0000
     1.2 +++ b/lzsa/receipt	Thu Oct 28 18:03:20 2021 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lzsa"
     1.7 -VERSION="1.3.7"
     1.8 +VERSION="1.3.8"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Efficient packer optimized for fast decompression on 8-bit cpu."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
     2.1 --- a/sokojs/stuff/multiset.sh	Sat Oct 23 15:17:56 2021 +0000
     2.2 +++ b/sokojs/stuff/multiset.sh	Thu Oct 28 18:03:20 2021 +0000
     2.3 @@ -51,8 +51,8 @@
     2.4   
     2.5  +function urlself()
     2.6  +{
     2.7 -+  var l = parent.window.location
     2.8 -+  return l.href.substring(0, l.href.length - l.search.length - l.hash.length)+
     2.9 ++  var l = parent.window.location.href+"?"
    2.10 ++  return l.substring(0, l.search(/[#?]/))+
    2.11  +         "?"+CurSet+"/level"+nbLevel+".htm#"+saved
    2.12  +}
    2.13  +
     3.1 --- a/sokojs/stuff/undo.u	Sat Oct 23 15:17:56 2021 +0000
     3.2 +++ b/sokojs/stuff/undo.u	Thu Oct 28 18:03:20 2021 +0000
     3.3 @@ -84,8 +84,8 @@
     3.4  +      d = undoDir(c)
     3.5  +      a = manpos - d
     3.6  +      if (c != c.toLowerCase()) {
     3.7 -+        if (level[a] == boxin && level[manpos] != boxin) nbBoxin++
     3.8 -+        if (level[a] != boxin && level[manpos] == boxin) nbBoxin--
     3.9 ++        if (level[a] == boxin && level[manpos] != dest) nbBoxin++
    3.10 ++        if (level[a] != boxin && level[manpos] == dest) nbBoxin--
    3.11  +        print_moves(--moves)
    3.12  +        level[a] = (level[a] == boxin) ? dest : floor
    3.13  +        level[manpos] = (level[manpos] == dest) ? boxin : boxout