FreeCalypso > hg > fc-tourmaline
changeset 181:8f6e2ae69a6b
mmiUserData.c: bogotab fixes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 19 Jan 2021 04:42:34 +0000 |
parents | 6b5d787d9ade |
children | e41c934ecd97 |
files | src/ui/bmi/mmiUserData.c |
diffstat | 1 files changed, 17 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- 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 ) // <doomed> is the first element in the list. { - window->user = (void *)doomed->next; + window->user = (void *)doomed->next; } else { @@ -228,4 +227,3 @@ return oldData; } } -