mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
internal/warpc: Make webp C defaults match the Go defaults
To avoid confusion.
This commit is contained in:
@@ -416,7 +416,7 @@ InputMessage parse_input_message(const char *line)
|
||||
msg.data.options.method = (int)json_object_get_number(options_object, "method");
|
||||
if (msg.data.options.method < 0 || msg.data.options.method > 6)
|
||||
{
|
||||
msg.data.options.method = 2; // default
|
||||
msg.data.options.method = 4; // default
|
||||
}
|
||||
if (msg.data.options.quality < 0 || msg.data.options.quality > 100)
|
||||
{
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user