]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - tools/src/tools/configtool/standalone/wxwin/admindlg.cpp
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / tools / src / tools / configtool / standalone / wxwin / admindlg.cpp
index 281d30b756a1481add1da0b3f6570ffc9fda60c9..cb21eea17967b2d504f9b844ae48963ea42bdf5b 100644 (file)
@@ -269,11 +269,9 @@ void ecAdminDialog::OnAdd(wxCommandEvent& event)
 #ifdef __WXMSW__
                     if (-1 == strLicenseText.Find (wxT("\r\n"))) // if the file has LF line endings...
                         strLicenseText.Replace (_T("\n"), _T("\r\n")); // ... replace with CRLF line endings
-#else
-                    strLicenseText.Replace (_T("\r"), wxEmptyString); // remove CR characters
-#endif
+#endif                    
                     // display the license text
-
+                    
                     ecLicenseDialog dlgLicense (strLicenseText, this, ecID_LICENSE_DIALOG, strPathName + _(" - Add Packages"));
                     if (wxID_OK != dlgLicense.ShowModal ()) // if license not accepted by user
                         continue; // try the next file