aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-01-09 10:06:35 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-01-09 10:06:35 -0500
commit5227bcfa382b914fff3f01e856a433a7f841b943 (patch)
tree75d7345a169cfc04614cf1cbd9e916e42149fcbf /src/ui.cpp
parenta0597ff41fb4be979f9dfd70ace8be98a737affb (diff)
xml: dialog options
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index ead9d8c..6e33692 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -437,10 +437,11 @@ namespace ui {
dialogOptCount--;
};
- dialogOptChosen=0;
+ dialogOptCount = 0;
+ dialogOptChosen = 0;
memset(&dialogOptLoc,0,sizeof(float)*12);
- if(opt){
+ if(opt != NULL){
soptbuf = new char[strlen(opt)+1];
strcpy(soptbuf,opt);