mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-09 22:43:11 +02:00
2020-01-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDCmdSwitch' that caused empty argument values to be returned as a null QString.
This commit is contained in:
parent
866e85b1a7
commit
0bc1268b00
@ -19423,3 +19423,6 @@
|
||||
* Incremented the package version to 3.2.1.
|
||||
2020-01-27 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added a 'delta-seconds' modifier to Filepath Wildcards.
|
||||
2020-01-27 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in 'RDCmdSwitch' that caused empty argument values
|
||||
to be returned as a null QString.
|
||||
|
@ -50,7 +50,12 @@ RDCmdSwitch::RDCmdSwitch(int argc,char *argv[],const char *modname,
|
||||
for(int i=2;i<f0.size();i++) {
|
||||
f0[1]+="="+f0[i];
|
||||
}
|
||||
switch_values.push_back(f0[1]);
|
||||
if(f0[1].isEmpty()) {
|
||||
switch_values.push_back("");
|
||||
}
|
||||
else {
|
||||
switch_values.push_back(f0[1]);
|
||||
}
|
||||
switch_processed.push_back(false);
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user