openbsd-ports/japanese/Wnn/patches/patch-af
1998-07-29 01:31:02 +00:00

46 lines
1.4 KiB
Plaintext

--- Wnn/jutil/wnnstat.c.orig Tue Jul 29 01:21:32 1997
+++ Wnn/jutil/wnnstat.c Tue Jul 29 01:41:42 1997
@@ -69,7 +69,7 @@
#define W_DIC_ALL 5
#define W_VERSION 6
-#ifdef JAPANSE
+#ifdef JAPANESE
extern int eujis_to_jis8(), eujis_to_sjis();
#endif
#ifdef CHINESE
@@ -129,13 +129,13 @@
strcpy(lang, WNN_DEFAULT_LANG);
#ifdef JAPANESE
- while ((c = getopt(argc,argv,"EewdDfFUSJVL:K")) != EOF) {
+ while ((c = getopt(argc,argv,"weEdDfFUSJVL:")) != EOF) {
#endif
#ifdef CHINESE
- while ((c = getopt(argc,argv,"EewdDfFUBCVL:K")) != EOF) {
+ while ((c = getopt(argc,argv,"weEdDfFUBCVL:")) != EOF) {
#endif
# ifdef KOREAN
- while ((c = getopt(argc,argv,"EewdDfFUVL:K")) != EOF) {
+ while ((c = getopt(argc,argv,"weEdDfFUKVL:")) != EOF) {
#endif
switch(c){
case 'w':
@@ -317,13 +317,13 @@
usage()
{
#ifdef JAPANESE
- fprintf(stderr, "wnnstat [-weEdDfFKSUJ] [-L lang_name] [server_name]\n");
+ fprintf(stderr, "wnnstat [-weEdDfFUSJV] [-L lang_name] [server_name]\n");
#endif /* JAPANESE */
#ifdef CHINESE
- fprintf(stderr, "wnnstat [-weEdDfFSUJBC] [-L lang_name] [server_name]\n");
+ fprintf(stderr, "wnnstat [-weEdDfFUBCV] [-L lang_name] [server_name]\n");
#endif /* CHINESE */
#ifdef KOREAN
- fprintf(stderr, "kwnnstat [-weEdDfFKU] [-L lang_name] [server_name]\n");
+ fprintf(stderr, "kwnnstat [-weEdDfFUKV] [-L lang_name] [server_name]\n");
#endif /* KOREAN */
exit(-1);
}