From a5209d80b512e1c9aebe3c960c676e8578207ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvonne=20Fr=C3=B6hlich?= <94163266+yvonnefroehlich@users.noreply.github.com> Date: Sat, 19 Feb 2022 09:49:40 +0100 Subject: [PATCH] fix component order --- SplitLab1.9.0/config_GUI/seisFigButtons.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SplitLab1.9.0/config_GUI/seisFigButtons.m b/SplitLab1.9.0/config_GUI/seisFigButtons.m index 0aecac8..8d9eccc 100755 --- a/SplitLab1.9.0/config_GUI/seisFigButtons.m +++ b/SplitLab1.9.0/config_GUI/seisFigButtons.m @@ -243,12 +243,12 @@ function exportsac(src,event,seis) time = time(window); -if thiseq.system=='ENV' - cname ='ENZ'; +if strcmp(thiseq.system,'ENV') + cname = 'ENZ'; cmpinc = [90 90 0]; cmpaz = [0 90 90]; -elseif thiseq.system=='LTQ' - cname ='LTQ'; +elseif strcmp(thiseq.system,'LTQ') + cname = 'QTL'; cmpinc = [-12345.0 -12345.0 -12345.0]; cmpaz = [-12345.0 -12345.0 -12345.0]; end @@ -487,4 +487,4 @@ function localStructBox(src,evt) function lscallback(src,evnt) if strcmp(evnt.Key,'return') || strcmp(evnt.Character,'h') close(src); -end \ No newline at end of file +end