X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fforms%2Fpreferences%2FfrmPreferences.cpp;h=c10029600e74742dc61fdb994c020934eb591012;hb=1fe6e43892e5c572949a293a9e19704b5debadad;hp=b7c629b3a710b2425da45ee63e7641ea5a5cd502;hpb=66ebed13414439cd56161faa2abcff7744ab4588;p=xestiacalendar%2F.git diff --git a/source/forms/preferences/frmPreferences.cpp b/source/forms/preferences/frmPreferences.cpp index b7c629b..c100296 100644 --- a/source/forms/preferences/frmPreferences.cpp +++ b/source/forms/preferences/frmPreferences.cpp @@ -208,8 +208,8 @@ void frmPreferences::ModifyAccount( wxCommandEvent& event ) accType = preferences->accounts.GetAccountType((int)lstAccountsIndex); - if (accType != "CardDAV" && AccType != "carddav" && - accType != "Local" && AccType != "local"){ + if (accType != "CardDAV" && accType != "carddav" && + accType != "Local" && accType != "local"){ wxMessageBox(_("Cannot modify the selected account settings as the account type is unsupported."), _("Unsupported account type"), wxICON_ERROR); return;