File tree 2 files changed +2
-2
lines changed
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)
191
191
192
192
// TODO: UTF-8 support on Windows is very sad. This might need ICU or
193
193
// PCRE.
194
- pattern = std::regex (regexMatch ? constantRegex ( path) : path,
194
+ pattern = std::regex (regexMatch ? path : constantRegex ( path) ,
195
195
std::regex_constants::ECMAScript | std::regex_constants::icase);
196
196
} catch (std::exception &) {
197
197
// nom nom
Original file line number Diff line number Diff line change @@ -774,7 +774,7 @@ void ApplicationConfigDialog::updateDefaultEndpoint(
774
774
{
775
775
auto index = ComboBox_GetCurSel (control);
776
776
777
- if (index > 0 && index - 1 < _driverConfig.endpoints .size ()) {
777
+ if (index > 0 && index - 1 < ( int ) _driverConfig.endpoints .size ()) {
778
778
DefaultEndpointConfig defaultEndpoint;
779
779
780
780
defaultEndpoint.type = dataFlow;
You can’t perform that action at this time.
0 commit comments