projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Miscellaneous fixes to finish up `remove-statics'. rlogin.c had a
[u/mdw/putty]
/
unix
/
pterm.c
diff --git
a/unix/pterm.c
b/unix/pterm.c
index
c207195
..
402a4e7
100644
(file)
--- a/
unix/pterm.c
+++ b/
unix/pterm.c
@@
-80,7
+80,7
@@
static int send_raw_mouse;
static char *app_name = "pterm";
static char *app_name = "pterm";
-char *x_get_default(char *key)
+char *x_get_default(c
onst c
har *key)
{
return XGetDefault(GDK_DISPLAY(), app_name, key);
}
{
return XGetDefault(GDK_DISPLAY(), app_name, key);
}
@@
-88,14
+88,14
@@
char *x_get_default(char *key)
/*
* Default settings that are specific to pterm.
*/
/*
* Default settings that are specific to pterm.
*/
-char *platform_default_s(char *name)
+char *platform_default_s(c
onst c
har *name)
{
if (!strcmp(name, "Font"))
return "fixed"; /* COE_NORMAL works badly in an xterm */
return NULL;
}
{
if (!strcmp(name, "Font"))
return "fixed"; /* COE_NORMAL works badly in an xterm */
return NULL;
}
-int platform_default_i(char *name, int def)
+int platform_default_i(c
onst c
har *name, int def)
{
if (!strcmp(name, "CloseOnExit"))
return COE_ALWAYS; /* COE_NORMAL works badly in an xterm */
{
if (!strcmp(name, "CloseOnExit"))
return COE_ALWAYS; /* COE_NORMAL works badly in an xterm */