From 3a9b1e4198e979e7000fb300113c590a2f496930 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Fri, 8 Jul 2022 11:59:21 +0800 Subject: [PATCH] vc compatibility --- redpanda-win-git-askpass/{main.c => main.cpp} | 1 - redpanda-win-git-askpass/redpanda-win-git-askpass.pro | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) rename redpanda-win-git-askpass/{main.c => main.cpp} (99%) 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