mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 11:31:00 -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:
@ -9,27 +9,6 @@
|
||||
|
||||
const char *const appname = "pterm";
|
||||
|
||||
/*
|
||||
* 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;
|
||||
}
|
||||
|
||||
Backend *select_backend(Config *cfg)
|
||||
{
|
||||
return &pty_backend;
|
||||
|
Reference in New Issue
Block a user