diff --git a/redpanda-win-git-askpass/main.c b/redpanda-win-git-askpass/main.cpp similarity index 99% rename from redpanda-win-git-askpass/main.c rename to redpanda-win-git-askpass/main.cpp index b18ffe0a..9c97de4f 100644 --- a/redpanda-win-git-askpass/main.c +++ b/redpanda-win-git-askpass/main.cpp @@ -18,7 +18,6 @@ int WINAPI WinMain(HINSTANCE hInstance, LPTSTR lpCmdLine, int nCmdShow) { MSG msg; - hMainDlg = CreateDialog(hInstance, (LPCTSTR)IDD_MAIN_DIALOG, 0,(DLGPROC)MainDlgProc); ShowWindow(hMainDlg, nCmdShow); hwndTxtPassword = GetDlgItem(hMainDlg,ID_TXT_PASSWORD); diff --git a/redpanda-win-git-askpass/redpanda-win-git-askpass.pro b/redpanda-win-git-askpass/redpanda-win-git-askpass.pro index ab3b798e..f2bfddc3 100644 --- a/redpanda-win-git-askpass/redpanda-win-git-askpass.pro +++ b/redpanda-win-git-askpass/redpanda-win-git-askpass.pro @@ -18,7 +18,7 @@ isEmpty(APP_NAME) { } SOURCES += \ - main.c + main.cpp RC_FILE += \ redpanda-git-askpass_private.rc