1
0
mirror of https://github.com/solemnwarning/ipxwrapper synced 2024-12-30 16:45:37 +01:00

Replaced single use of std::cerr with fprintf in ipxconfig, reduced binary size by ~400kB. Yay C++!

This commit is contained in:
Daniel Collins 2011-07-22 00:56:13 +00:00
parent aa65b02627
commit b08c4383cc

View File

@ -15,12 +15,10 @@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <iostream>
#include <windows.h>
#include <windowsx.h>
#include <commctrl.h>
#include <iphlpapi.h>
#include <iostream>
#include <string>
#include <vector>
#include <stdint.h>
@ -410,7 +408,7 @@ static void addr_input_dialog(const char *desc, char *dest, int size) {
NULL,
v
)) {
std::cerr << "Failed to create dialog: " << w32_errmsg(GetLastError()) << std::endl;
fprintf(stderr, "Failed to create dialog: %s\r\n", w32_errmsg(GetLastError()).c_str());
}
}