X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/d98df9cb4fb14f54acb85c59fcff90800be73e01..4e5cd85f8f19880be2521048426d413f4bbb8931:/common.inc.plp diff --git a/common.inc.plp b/common.inc.plp index 14ff204..fec7b57 100644 --- a/common.inc.plp +++ b/common.inc.plp @@ -71,8 +71,8 @@ sub stylesheet { } or warn "Unable to create style cookie: $@"; } - $style ||= $styles{$_} for $cookie{style} || (); my $setstyle = $style; + $style ||= $styles{$_} for $cookie{style} || (); $style ||= $avail[0]; return $setstyle; }