projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ftp://ftp.krokus.ru/pub/OpenBSD/distfiles/xscreensaver-5.01.tar.gz
[xscreensaver]
/
hacks
/
glx
/
gltext.c
diff --git
a/hacks/glx/gltext.c
b/hacks/glx/gltext.c
index 71e379ad10ec0723eca993d4135fcceea391414f..a24eefa38f1eaa6798a64fb545147e19b08a5b48 100644
(file)
--- a/
hacks/glx/gltext.c
+++ b/
hacks/glx/gltext.c
@@
-35,10
+35,6
@@
#include <ctype.h>
#include <ctype.h>
-#ifdef HAVE_LOCALE_H
-# include <locale.h>
-#endif /* HAVE_LOCALE_H */
-
#ifdef USE_GL /* whole file */
#ifdef HAVE_COCOA
#ifdef USE_GL /* whole file */
#ifdef HAVE_COCOA
@@
-330,15
+326,6
@@
init_text (ModeInfo *mi)
text_configuration *tp;
int i;
text_configuration *tp;
int i;
- /* setlocale (LC_TIME, "") only refers to environment:
- not needed
- */
-#if 0
-# ifdef HAVE_SETLOCALE
- setlocale (LC_TIME, ""); /* for strftime() calls */
-# endif
-#endif
-
if (!tps) {
tps = (text_configuration *)
calloc (MI_NUM_SCREENS(mi), sizeof (text_configuration));
if (!tps) {
tps = (text_configuration *)
calloc (MI_NUM_SCREENS(mi), sizeof (text_configuration));