Fix bug
This commit is contained in:
parent
16ae9864a7
commit
2836e1f401
|
@ -804,7 +804,12 @@ func onDrop(names []string){
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open input file in read-only mode
|
// Open input file in read-only mode
|
||||||
fin,_ := os.Open(names[0]+".pcv.0")
|
var fin *os.File
|
||||||
|
if isSplit{
|
||||||
|
fin,_ = os.Open(names[0]+".pcv.0")
|
||||||
|
}else{
|
||||||
|
fin,_ = os.Open(names[0])
|
||||||
|
}
|
||||||
|
|
||||||
// Use regex to test if input is a valid Picocrypt volume
|
// Use regex to test if input is a valid Picocrypt volume
|
||||||
tmp := make([]byte,30)
|
tmp := make([]byte,30)
|
||||||
|
|
Loading…
Reference in New Issue