more accurate uudecode
This commit is contained in:
parent
b706f2ce90
commit
63b3085f8b
@ -630,6 +630,9 @@ void UUDecode(GMsg* msg) {
|
|||||||
if(source == WRITE_QUIT)
|
if(source == WRITE_QUIT)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
bool old_quotespacing = CFG->switches.get(quotespacing);
|
||||||
|
CFG->switches.set(quotespacing, false);
|
||||||
|
|
||||||
if(source == WRITE_MARKED) {
|
if(source == WRITE_MARKED) {
|
||||||
for(uint n=0; n<AA->Mark.Count(); n++) {
|
for(uint n=0; n<AA->Mark.Count(); n++) {
|
||||||
if(overwrite and n)
|
if(overwrite and n)
|
||||||
@ -641,8 +644,12 @@ void UUDecode(GMsg* msg) {
|
|||||||
if(AA->Mark.Count())
|
if(AA->Mark.Count())
|
||||||
w_progress(MODE_QUIT, 0, 0, 0, NULL);
|
w_progress(MODE_QUIT, 0, 0, 0, NULL);
|
||||||
}
|
}
|
||||||
else if(source == WRITE_CURRENT)
|
else if(source == WRITE_CURRENT) {
|
||||||
|
AA->LoadMsg(msg, msg->msgno, 79);
|
||||||
SaveLines(MODE_WRITE, infile, msg, 79);
|
SaveLines(MODE_WRITE, infile, msg, 79);
|
||||||
|
}
|
||||||
|
|
||||||
|
CFG->switches.set(quotespacing, old_quotespacing);
|
||||||
|
|
||||||
uulist* item;
|
uulist* item;
|
||||||
int i, res;
|
int i, res;
|
||||||
|
Reference in New Issue
Block a user