From 34c08471a0ea3a1705e0f6244b318dcfe8f3090d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 15 May 2013 16:45:57 -0600 Subject: Add NxWdigets::CGlyphSliderHorizontal and associated grip widgets. From Ken Pettit. --- NxWidgets/UnitTests/nxwm/nxwm_main.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'NxWidgets/UnitTests') diff --git a/NxWidgets/UnitTests/nxwm/nxwm_main.cxx b/NxWidgets/UnitTests/nxwm/nxwm_main.cxx index 04ffb64ba..26ab1b2d3 100644 --- a/NxWidgets/UnitTests/nxwm/nxwm_main.cxx +++ b/NxWidgets/UnitTests/nxwm/nxwm_main.cxx @@ -574,8 +574,8 @@ static bool createMediaPlayer(void) // Add the hex calculator application to the start window printf("createHexCalculator: Creating the hex calculator application\n"); - NxWM::CMediaPlayerFactory *calculator = new NxWM::CMediaPlayerFactory(g_nxwmtest.taskbar); - if (!calculator) + NxWM::CMediaPlayerFactory *mediaplayer = new NxWM::CMediaPlayerFactory(g_nxwmtest.taskbar); + if (!mediaplayer) { printf("createMediaPlayer: ERROR: Failed to instantiate CMediaPlayerFactory\n"); return false; @@ -583,10 +583,10 @@ static bool createMediaPlayer(void) showTestCaseMemory("createMediaPlayer: After creating the media player application"); printf("createMediaPlayer: Adding the hex calculator application to the start window\n"); - if (!g_nxwmtest.startwindow->addApplication(calculator)) + if (!g_nxwmtest.startwindow->addApplication(mediaplayer)) { printf("createMediaPlayer: ERROR: Failed to add CNxConsoleFactory to the start window\n"); - delete calculator; + delete mediaplayer; return false; } -- cgit v1.2.3