diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-02-10 06:57:53 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-02-10 06:57:53 +0000 |
commit | 895a57bdd258b543160d32d68f4cbcf9c7eb39ac (patch) | |
tree | 5a0a159192dcf66e8166fc5d759337f62e74cf08 /src/interfaces/odbc/dlg_specific.c | |
parent | d2331b4ebd289088b9436012f3bd185b9a140b2b (diff) |
Cleanup
Diffstat (limited to 'src/interfaces/odbc/dlg_specific.c')
-rw-r--r-- | src/interfaces/odbc/dlg_specific.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/interfaces/odbc/dlg_specific.c b/src/interfaces/odbc/dlg_specific.c index 9be8b3cdd5f..2bbf46faea9 100644 --- a/src/interfaces/odbc/dlg_specific.c +++ b/src/interfaces/odbc/dlg_specific.c @@ -243,12 +243,7 @@ char buf[128]; CheckDlgButton(hdlg, DS_READONLY, atoi(ci->onlyread)); /* Protocol */ - if (strncmp(ci->protocol, PG62, strlen(PG62)) == 0) - CheckDlgButton(hdlg, DS_PG62, 1); - else if (strncmp(ci->protocol, PG63, strlen(PG63)) == 0) - CheckDlgButton(hdlg, DS_PG63, 1); - else /* latest */ - CheckDlgButton(hdlg, DS_PG64, 1); + CheckDlgButton(hdlg, DS_PG64, 1); @@ -281,12 +276,7 @@ char buf[128]; sprintf(ci->onlyread, "%d", IsDlgButtonChecked(hdlg, DS_READONLY)); /* Protocol */ - if ( IsDlgButtonChecked(hdlg, DS_PG62)) - strcpy(ci->protocol, PG62); - else if ( IsDlgButtonChecked(hdlg, DS_PG63)) - strcpy(ci->protocol, PG63); - else /* latest */ - strcpy(ci->protocol, PG64); + strcpy(ci->protocol, PG64); sprintf(ci->show_system_tables, "%d", IsDlgButtonChecked(hdlg, DS_SHOWSYSTEMTABLES)); |