mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
Ports: Removed now unnecesary patch for the Prince of Persia port
As now strtoimax() is implemented we have no need to replace it to strtol().
This commit is contained in:
parent
13315a6ef1
commit
136588e240
Notes:
sideshowbarker
2024-07-18 20:49:32 +09:00
Author: https://github.com/Baitinq Commit: https://github.com/SerenityOS/serenity/commit/136588e2400 Pull-request: https://github.com/SerenityOS/serenity/pull/6098
1 changed files with 0 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
|||
diff --git a/src/options.c b/src/options.c
|
||||
index 1bfe473..ba13dab 100644
|
||||
--- a/src/options.c
|
||||
+++ b/src/options.c
|
||||
@@ -130,7 +130,7 @@ static int ini_process_##data_type(const char* curr_name, const char* value, con
|
||||
if(strcasecmp(curr_name, option_name) == 0) { \
|
||||
if (strcasecmp(value, "default") != 0) { \
|
||||
int named_value = ini_get_named_value(value, value_names); \
|
||||
- *target = (named_value == INI_NO_VALID_NAME) ? ((data_type) strtoimax(value, NULL, 0)) : ((data_type) named_value); \
|
||||
+ *target = (named_value == INI_NO_VALID_NAME) ? ((data_type) strtol(value, NULL, 0)) : ((data_type) named_value); \
|
||||
} \
|
||||
return 1; /* finished; don't look for more possible options that curr_name can be */ \
|
||||
} \
|
Loading…
Reference in a new issue