vc compatibility

This commit is contained in:
Roy Qu 2022-07-08 11:59:21 +08:00
parent 66a802485f
commit 3a9b1e4198
2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,6 @@ int WINAPI WinMain(HINSTANCE hInstance,
LPTSTR lpCmdLine, int nCmdShow) { LPTSTR lpCmdLine, int nCmdShow) {
MSG msg; MSG msg;
hMainDlg = CreateDialog(hInstance, (LPCTSTR)IDD_MAIN_DIALOG, 0,(DLGPROC)MainDlgProc); hMainDlg = CreateDialog(hInstance, (LPCTSTR)IDD_MAIN_DIALOG, 0,(DLGPROC)MainDlgProc);
ShowWindow(hMainDlg, nCmdShow); ShowWindow(hMainDlg, nCmdShow);
hwndTxtPassword = GetDlgItem(hMainDlg,ID_TXT_PASSWORD); hwndTxtPassword = GetDlgItem(hMainDlg,ID_TXT_PASSWORD);

View File

@ -18,7 +18,7 @@ isEmpty(APP_NAME) {
} }
SOURCES += \ SOURCES += \
main.c main.cpp
RC_FILE += \ RC_FILE += \
redpanda-git-askpass_private.rc redpanda-git-askpass_private.rc