From 4447d50e787290530c3279d68eec1949c043df7d Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Wed, 5 Jul 2017 07:55:51 -0500 Subject: [PATCH] fb_upscale: fix mode dimensioning bug Ref #78 --- src/server/fb_upscale/component.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/fb_upscale/component.cc b/src/server/fb_upscale/component.cc index 6cc7c84..1d3b322 100644 --- a/src/server/fb_upscale/component.cc +++ b/src/server/fb_upscale/component.cc @@ -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));