home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
532.lha
/
snap_v1.62
/
diff-1.62
< prev
next >
Wrap
Text File
|
1991-07-10
|
3KB
|
104 lines
*** 910501r/src/snap.c Sat May 25 14:07:20 1991
--- snap.c Mon Jun 17 14:05:29 1991
***************
*** 503,510 ****
{ "CONTROL", IEQUALIFIER_CONTROL },
{ "LALT", IEQUALIFIER_LALT },
{ "RALT", IEQUALIFIER_RALT },
! { "LAMIGA", IEQUALIFIER_LCOMMAND },
! { "RAMIGA", IEQUALIFIER_RCOMMAND },
{ "MIDBUTTON", IEQUALIFIER_MIDBUTTON }
};
--- 503,510 ----
{ "CONTROL", IEQUALIFIER_CONTROL },
{ "LALT", IEQUALIFIER_LALT },
{ "RALT", IEQUALIFIER_RALT },
! { "LCOMMAND", IEQUALIFIER_LCOMMAND },
! { "RCOMMAND", IEQUALIFIER_RCOMMAND },
{ "MIDBUTTON", IEQUALIFIER_MIDBUTTON }
};
***************
*** 515,521 ****
char oldc;
WORD qual = 0;
! if (isdigit(*quals)) {
return hextoint(quals);
}
--- 515,521 ----
char oldc;
WORD qual = 0;
! if (('0' >= *quals) && (*quals <= '9')) {
return hextoint(quals);
}
***************
*** 654,663 ****
}
}
if (val = FindToolType(diskobject->do_ToolTypes, "TEXTQUAL")) {
! SnapRsrc->textqual = ParseQual(val);
}
if (val = FindToolType(diskobject->do_ToolTypes, "GFXQUAL")) {
! SnapRsrc->gfxqual = ParseQual(val);
}
if (val = FindToolType(diskobject->do_ToolTypes, "INSERTKEY")) {
SnapRsrc->insertkey = hextoint(val);
--- 654,667 ----
}
}
if (val = FindToolType(diskobject->do_ToolTypes, "TEXTQUAL")) {
! if (!(SnapRsrc->textqual = ParseQual(val))) {
! SnapRsrc->textqual = IEQUALIFIER_LCOMMAND;
! }
}
if (val = FindToolType(diskobject->do_ToolTypes, "GFXQUAL")) {
! if (!(SnapRsrc->gfxqual = ParseQual(val))) {
! SnapRsrc->gfxqual = IEQUALIFIER_RCOMMAND;
! }
}
if (val = FindToolType(diskobject->do_ToolTypes, "INSERTKEY")) {
SnapRsrc->insertkey = hextoint(val);
***************
*** 758,764 ****
}
case 't': textqual: {
if (ARGVAL()) {
! SnapRsrc->textqual = ParseQual(*argv);
} else {
usage = 1;
}
--- 762,770 ----
}
case 't': textqual: {
if (ARGVAL()) {
! if (!(SnapRsrc->textqual = ParseQual(*argv))) {
! SnapRsrc->textqual = IEQUALIFIER_LCOMMAND;
! }
} else {
usage = 1;
}
***************
*** 767,773 ****
#ifdef SNAPGFX
case 'g': gfxqual: {
if (ARGVAL()) {
! SnapRsrc->gfxqual = ParseQual(*argv);
} else {
usage = 1;
}
--- 773,781 ----
#ifdef SNAPGFX
case 'g': gfxqual: {
if (ARGVAL()) {
! if (!(SnapRsrc->gfxqual = ParseQual(*argv))) {
! SnapRsrc->gfxqual = IEQUALIFIER_RCOMMAND;
! }
} else {
usage = 1;
}