fb_upscale: fix mode dimensioning bug

Ref #78
This commit is contained in:
Emery Hemingway
2017-07-05 07:55:51 -05:00
committed by Norman Feske
parent 1336376e2e
commit 4447d50e78

View File

@@ -192,8 +192,8 @@ class Fb_scaler::Root_component : Root_component_base
{
using namespace Genode;
unsigned width = Arg_string::find_arg(args, "fb_width").ulong_value(0);
unsigned height = Arg_string::find_arg(args, "fb_width").ulong_value(0);
unsigned width = Arg_string::find_arg(args, "fb_width").ulong_value(0);
unsigned height = Arg_string::find_arg(args, "fb_height").ulong_value(0);
return new (md_alloc())
Session_component(_env, Mode(width, height, Mode::INVALID));