From d5b3fcd5b54836b1512bc78f3a5356ef8ac126a7 Mon Sep 17 00:00:00 2001 From: Mike Khiretskiy Date: Thu, 19 Mar 2015 13:56:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B0=D1=87?= =?UTF-8?q?=D0=B0=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82=D1=80=D0=B0?= =?UTF-8?q?=20composite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.inc | 6 ++++-- dia_fulloptions.inc | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/common.inc b/common.inc index 082569a..e1d4044 100644 --- a/common.inc +++ b/common.inc @@ -395,8 +395,10 @@ } if video_modes.selected.append .undef ne { - calculate.param - video_modes.selected.append "%s" bc.cmd dup length add sprintf + video_modes.selected.append 0 get 0 ne { + calculate.param + video_modes.selected.append "%s" bc.cmd dup length add sprintf + } if } if fulloptions.cmd_composite dup 0 get 0 ne { diff --git a/dia_fulloptions.inc b/dia_fulloptions.inc index a642425..20100a0 100644 --- a/dia_fulloptions.inc +++ b/dia_fulloptions.inc @@ -222,6 +222,6 @@ % /fulloptions.cmd_composite { fulloptions.label_no_composite { - xmenu.fulloptions .xm_allselected get .fulloptions.nocomposite get { "composite:on" } { "composite:off" } ifelse + xmenu.fulloptions .xm_allselected get .fulloptions.nocomposite get { "composite:off" } { "" } ifelse } { "" } ifelse } def