# HG changeset patch # User Mychaela Falconia # Date 1611031354 0 # Node ID 8f6e2ae69a6b5c73f74f41fc29db05ba278c8474 # Parent 6b5d787d9ade6a186f8740c63f28bc18c3f55f9f mmiUserData.c: bogotab fixes diff -r 6b5d787d9ade -r 8f6e2ae69a6b src/ui/bmi/mmiUserData.c --- a/src/ui/bmi/mmiUserData.c Tue Jan 19 04:34:50 2021 +0000 +++ b/src/ui/bmi/mmiUserData.c Tue Jan 19 04:42:34 2021 +0000 @@ -1,6 +1,6 @@ /******************************************************************************* - CONDAT (UK) + CONDAT (UK) ******************************************************************************** @@ -11,24 +11,23 @@ $Project name: Basic MMI $Project code: BMI (6349) - $Module: MMI - $File: MmiUserData.c - $Revision: 1.0 + $Module: MMI + $File: MmiUserData.c + $Revision: 1.0 - $Author: Condat(UK) - $Date: 22/02/01 + $Author: Condat(UK) + $Date: 22/02/01 ******************************************************************************** Description: - ******************************************************************************** $History: MmiUserData.c - 25/10/00 Original Condat(UK) BMI version. + 25/10/00 Original Condat(UK) BMI version. $End @@ -112,9 +111,9 @@ */ void *userDataHndSet( MfwHnd window, UserKey key, void *data) { - if( window == NULL ) { return NULL; } + if( window == NULL ) { return NULL; } - return userDataWinSet( (MfwWin *)((MfwHdr *)window)->data, key, data); + return userDataWinSet( (MfwWin *)((MfwHdr *)window)->data, key, data); } @@ -161,9 +160,9 @@ */ void *userDataHndGet( MfwHnd window, UserKey key) { - if( window == NULL ) { return NULL; } + if( window == NULL ) { return NULL; } - return userDataWinGet( (MfwWin *)((MfwHdr *)window)->data, key); + return userDataWinGet( (MfwWin *)((MfwHdr *)window)->data, key); } @@ -171,13 +170,13 @@ { UserDataLink thisOne; - if( window == NULL ) { return NULL; } + if( window == NULL ) { return NULL; } thisOne = userDataFind( (UserDataLink)window->user, key); - if( thisOne == NULL ) { return NULL; } + if( thisOne == NULL ) { return NULL; } - return thisOne->data; + return thisOne->data; } @@ -189,9 +188,9 @@ */ void *userDataHndDelete( MfwHnd window, UserKey key) { - if( window == NULL ) { return NULL; } + if( window == NULL ) { return NULL; } - return userDataWinDelete( (MfwWin *)((MfwHdr *)window)->data, key); + return userDataWinDelete( (MfwWin *)((MfwHdr *)window)->data, key); } @@ -216,7 +215,7 @@ if( previous == NULL ) // is the first element in the list. { - window->user = (void *)doomed->next; + window->user = (void *)doomed->next; } else { @@ -228,4 +227,3 @@ return oldData; } } -