Skip to content

Commit 5a9e31c

Browse files
committed
Fix: 2022-07-08
1 parent ad7827f commit 5a9e31c

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

db/Binary/MS Compiled HTML Help.1.sg

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
// DIE's signature file
2-
// Author: sendersu
3-
/*
4-
If errors pls contact sendersu on exelab.ru
5-
*/
2+
// Authors:
3+
// sendersu (sendersu on exelab.ru),
4+
// Kaens (TG @kaens)
65

76
init("format","Microsoft Compiled HTML Help");
87

8+
includeScript("read");
9+
910
function detect(bShowType,bShowVersion,bShowOptions)
1011
{
11-
if(Binary.compare("'ITSF'03000000"))
12+
if(Binary.compare("'ITSF'..000000"))
1213
{
13-
bDetected=1;
14+
bDetected = 1;
15+
sVersion = "v"+Binary.read_int32(4,_BE);
16+
sOption(Binary.read_uint32(0x14,_BE),"LangID: ");
1417
}
1518

1619
return result(bShowType,bShowVersion,bShowOptions);

db/Binary/wav.1.sg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function nextChunk() {
288288
case "data":
289289
if(nBPS && nFormat==1 && (nBPS==8 || nBPS==16)) {
290290
var nmSeconds = Math.round(Binary.readDword(pc-4)/(nBPS/8)/nRate/nChannels*1000);
291-
sOption(new Date(nmSeconds).toISOString().substr(11, 8));
291+
sOption=new Date(nmSeconds).toISOString().substr(11, 8);
292292
}
293293
break;
294294
case "INFO":

help/Binary.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,10 @@ if(signature=="AA5411DD")
256256

257257
```
258258
```
259+
**bool isVerbose()**
259260

261+
```
262+
```
260263
**quint8 read_uint8(qint64 nOffset)*
261264

262265
```

0 commit comments

Comments
 (0)