vc++ does not like "and", replace it with &&

This commit is contained in:
Sébastien Loriot 2013-03-05 14:11:57 +01:00
parent f92f64e121
commit 3696c36367
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ void ASphapeIpelet::protected_run(int fn)
);
if (pt_list.empty() and cir_list.empty()) {
if (pt_list.empty() && cir_list.empty()) {
print_error_message("No circle nor point selected");
return;
}

View File

@ -77,7 +77,7 @@ void IpeletMesh2::protected_run(int fn)
)
);
if (pt_list.empty() and sg_list.empty() and pol_list.empty()) {
if (pt_list.empty() && sg_list.empty() && pol_list.empty()) {
print_error_message("No mark selected");
return;
}