Browse Source

8-bit integers are 1 byte long, not 8...

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
2b97d2ebc5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/core/settings.c

+ 1
- 1
src/core/settings.c View File

345
 static int set_int8 ( struct config_context *context,
345
 static int set_int8 ( struct config_context *context,
346
 			   struct config_setting *setting,
346
 			   struct config_setting *setting,
347
 			   const char *value ) {
347
 			   const char *value ) {
348
-	return set_int ( context, setting, value, 8 );
348
+	return set_int ( context, setting, value, 1 );
349
 }
349
 }
350
 
350
 
351
 /** An 8-bit integer configuration setting */
351
 /** An 8-bit integer configuration setting */

Loading…
Cancel
Save