1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-04 21:12:47 -05:00

Fixed the printing and charset combo boxes in Unix PuTTY. (The

former by simply removing it; the latter by adding an enumeration
function to libcharset.) This has had slight `const' repercussions
on cp_name() and cp_enumerate() which might break the Mac build.

[originally from svn r3064]
This commit is contained in:
Simon Tatham
2003-04-05 16:36:11 +00:00
parent 09c9f31289
commit cf08c5a64a
8 changed files with 41 additions and 57 deletions

View File

@ -14,12 +14,6 @@
/*
* TODO:
*
* - libcharset enumeration.
*
* - fix the printer enum (I think the sensible thing is simply to
* have uxcfg.c remove the drop-down list completely, since you
* can't sensibly provide an enumerated list of lpr commands!).
*
* - Remainder of the context menu:
*
* - Event Log (this means we must implement the Event Log; not
@ -73,27 +67,6 @@ void cleanup_exit(int code)
exit(code);
}
/*
* Another bunch of temporary stub functions. These ones will want
* removing by means of implementing them properly: libcharset
* should invent its own sensible format for codepage names and a
* means of enumerating them, and printer_enum needs to be dealt
* with somehow or other too.
*/
char *cp_name(int codepage)
{
return "";
}
char *cp_enumerate(int index)
{
return NULL;
}
int decode_codepage(char *cp_name)
{
return -2;
}
const char *const appname = "PuTTY";
Backend *select_backend(Config *cfg)