(svn r12320) -Fix [FS#1817]: Wrong transparency options could be saved after toggling all.

This commit is contained in:
peter1138 2008-02-29 15:20:02 +00:00
parent 3bba6e4abd
commit f87b1df566
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ static inline void ResetRestoreAllTransparency()
/* if none of the non-locked options are set */
if ((_transparency_opt & ~_transparency_lock) == 0) {
/* set all non-locked options */
_transparency_opt |= ~_transparency_lock;
_transparency_opt |= GB(~_transparency_lock, 0, TO_END);
} else {
/* clear all non-locked options */
_transparency_opt &= _transparency_lock;