OSDN Git Service
(root)
/
nkf
/
nkf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
54d29c0
)
Fix: build failure of nkf32.dll. [#41578] [#41580]
author
NARUSE, Yui
<naruse@users.sourceforge.jp>
Sun, 1 Feb 2009 11:43:05 +0000
(20:43 +0900)
committer
NARUSE, Yui
<naruse@users.sourceforge.jp>
Sun, 1 Feb 2009 11:43:05 +0000
(20:43 +0900)
nkf32dll.c
patch
|
blob
|
history
diff --git
a/nkf32dll.c
b/nkf32dll.c
index
b85f2ea
..
9fa272e
100644
(file)
--- a/
nkf32dll.c
+++ b/
nkf32dll.c
@@
-127,8
+127,8
@@
int
std_getc(f)
FILE *f;
{
std_getc(f)
FILE *f;
{
- if (
std_gc_ndx)
{
-
return std_gc_buf[--std_gc_ndx]
;
+ if (
!nkf_buf_empty_p(nkf_state->std_gc_buf))
{
+
> return nkf_buf_pop(nkf_state->std_gc_buf)
;
} else {
if ( std_getc_mode == 1 ) {
return getc(f);
} else {
if ( std_getc_mode == 1 ) {
return getc(f);