File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ bool ApplicationConfig::load(picojson::object& obj)
191191
192192 // TODO: UTF-8 support on Windows is very sad. This might need ICU or
193193 // PCRE.
194- pattern = std::regex (regexMatch ? constantRegex ( path) : path,
194+ pattern = std::regex (regexMatch ? path : constantRegex ( path) ,
195195 std::regex_constants::ECMAScript | std::regex_constants::icase);
196196 } catch (std::exception&) {
197197 // nom nom
Original file line number Diff line number Diff line change @@ -774,7 +774,7 @@ void ApplicationConfigDialog::updateDefaultEndpoint(
774774{
775775 auto index = ComboBox_GetCurSel (control);
776776
777- if (index > 0 && index - 1 < _driverConfig.endpoints .size ()) {
777+ if (index > 0 && index - 1 < ( int ) _driverConfig.endpoints .size ()) {
778778 DefaultEndpointConfig defaultEndpoint;
779779
780780 defaultEndpoint.type = dataFlow;
You can’t perform that action at this time.
0 commit comments