aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/Xrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/Xrm.c')
-rw-r--r--nx-X11/lib/X11/Xrm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nx-X11/lib/X11/Xrm.c b/nx-X11/lib/X11/Xrm.c
index 6adbc0dda..e83b28428 100644
--- a/nx-X11/lib/X11/Xrm.c
+++ b/nx-X11/lib/X11/Xrm.c
@@ -1595,13 +1595,13 @@ ReadInFile(_Xconst char *filename)
* to the size returned by fstat.
*/
{
- struct stat status_buffer;
- if ( ((fstat(fd, &status_buffer)) == -1 ) ||
+ struct stat status_buffer;
+ if ( ((fstat(fd, &status_buffer)) == -1 ) ||
(status_buffer.st_size >= INT_MAX) ) {
- close (fd);
- return (char *)NULL;
- } else
- size = (int) status_buffer.st_size;
+ close (fd);
+ return (char *)NULL;
+ } else
+ size = (int) status_buffer.st_size;
}
if (!(filebuf = Xmalloc(size + 1))) { /* leave room for '\0' */