Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
coshcage authored Apr 23, 2024
1 parent ad5eb1b commit a79505c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/sixmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Name: sixmem.c
* Description: SI external memory function.
* Author: cosh.cage#hotmail.com
* File ID: 0714231200H0422240734L00398
* File ID: 0714231200H0422240734L00389
* License: GPLv2.
*/
#include "sixmem.h"
Expand Down Expand Up @@ -52,15 +52,6 @@ void _siReadString(char * buf, FILE * fp)
*/
void _siReadWString(wchar_t * buf, FILE * fp)
{
/*
size_t i = 0;
while ((i < BUFSIZ - 1) && (L'\0' != (*buf = fgetwc(fp))))
{
++buf;
++i;
}
buf[i] = L'\0';
*/
fgetws(buf, BUFSIZ - 1, fp);
}

Expand Down

0 comments on commit a79505c

Please sign in to comment.