diff src/ui/bmi/mmiSatCall.c @ 162:0b97ee8bf778

mmiSatCall.c: bogotab fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 18 Nov 2020 21:50:20 +0000
parents c0052fe355d3
children
line wrap: on
line diff
--- a/src/ui/bmi/mmiSatCall.c	Wed Nov 18 21:44:01 2020 +0000
+++ b/src/ui/bmi/mmiSatCall.c	Wed Nov 18 21:50:20 2020 +0000
@@ -1,6 +1,6 @@
 /*******************************************************************************
 
-					CONDAT (UK)
+			CONDAT (UK)
 
 ********************************************************************************
 
@@ -11,12 +11,12 @@
 
  $Project name:	Basic MMI
  $Project code:	BMI
- $Module:		SMS
- $File:		    mmiSatInfo.c
- $Revision:		1.0
+ $Module:	SMS
+ $File:		mmiSatInfo.c
+ $Revision:	1.0
 
- $Author:		Condat(UK)
- $Date:		    25/10/00
+ $Author:	Condat(UK)
+ $Date:		25/10/00
 
 ********************************************************************************
 
@@ -125,7 +125,7 @@
     T_MFW_HND     win;
     T_SAT_CMD     *sat_command; /* pointer to sat_command in parent */
     T_SAT_call_setup_parameter * call_setup_parameter;
-    T_MFW_HND       redial_tim;
+    T_MFW_HND     redial_tim;
 } T_sat_call_setup;
 
 extern BOOL sat_call_active;   // Marcus: Issue 1812: 13/03/2003
@@ -142,9 +142,9 @@
  $Function:    	sat_call_setup_create
 
  $Description:	Creation of an instance for the SAT CALL  dialog.Window must be
- 				available after reception of SAT command only one instance.
+		available after reception of SAT command only one instance.
 
- $Returns:		mfw window handler
+ $Returns:	mfw window handler
 
  $Arguments:	parent_window - Parent window handler
 
@@ -182,7 +182,7 @@
 
  $Description:	Destroy the sat call dialog.
 
- $Returns:		none
+ $Returns:	none
 
  $Arguments:	own_window - Current window
 
@@ -192,11 +192,11 @@
     T_MFW_WIN * win_data   = ((T_MFW_HDR *)own_window)->data;
     T_sat_call_setup * data = (T_sat_call_setup *)win_data->user;
 
-	if (own_window == NULL)
-	{
-		TRACE_EVENT ("Error : sat_call_setup_destroy called with NULL Pointer");
-		return;
-	}
+    if (own_window == NULL)
+    {
+	TRACE_EVENT ("Error : sat_call_setup_destroy called with NULL Pointer");
+	return;
+    }
 
     if (data)
         {
@@ -218,12 +218,12 @@
 
  $Description:	Dialog function for sat_call_setup_exec window.
 
- $Returns:		none
+ $Returns:	none
 
  $Arguments:	win - current window
- 				event - window event
- 				value - unique id
- 				call_setup_parameter - call setup info
+		event - window event
+		value - unique id
+		call_setup_parameter - call setup info
 
 *******************************************************************************/
 static void sat_call_setup_exec (T_MFW_HND win, USHORT event, SHORT value,  T_SAT_call_setup_parameter * call_setup_parameter)
@@ -251,22 +251,22 @@
         /* SPR#1700 - DS - Modified so SAT will not display "Setup call?" if the first alpha id has been supplied by the SIM
          */
 
-	  if (call_setup_parameter->TextString) /* Alpha id supplied by SIM */
+	if (call_setup_parameter->TextString) /* Alpha id supplied by SIM */
         {
-               /* 01-06-2006, x0045876 (OMAPS00070741) */
-	        dlg_initDisplayData_TextStr( &display_info, TxtAccept, TxtReject, call_setup_parameter->TextString, " ", COLOUR_STATUS);
+            /* 01-06-2006, x0045876 (OMAPS00070741) */
+	    dlg_initDisplayData_TextStr( &display_info, TxtAccept, TxtReject, call_setup_parameter->TextString, " ", COLOUR_STATUS);
   //x0035544 Feb 07, 2006 DR:OMAPS00061467
 #ifdef FF_MMI_SAT_ICON
-	if(call_setup_parameter->IconInfo.dst != NULL)
-	{
+	    if(call_setup_parameter->IconInfo.dst != NULL)
+	    {
 		display_info.IconData.width 	=  call_setup_parameter->IconInfo.width;
 	  	display_info.IconData.height	= call_setup_parameter->IconInfo.height;
 		display_info.IconData.dst = call_setup_parameter->IconInfo.dst;
 		display_info.IconData.selfExplanatory 	= call_setup_parameter->IconInfo.selfExplanatory;
-	}
+	    }
 #endif
 
-	  	}
+	}
 
         else /* No alpha id supplied so show "Setup call?" */
         {
@@ -313,7 +313,7 @@
     	TRACE_EVENT("sat_call_setup_exec(): SAT_CALL_END");
 
 	/* Nov 17, 2006   REF:DR:OMAPS00104580  x0039928
-   	 -Deleted Redial flag enabling/disabling code*/
+	 -Deleted Redial flag enabling/disabling code*/
 
         /* clean up after end of call */
         sat_call_setup_destroy(win);
@@ -323,7 +323,6 @@
         TRACE_EVENT("sat_call_setup_exec() unexpected event");
         return;
     }
-
 }
 
 /*******************************************************************************
@@ -332,11 +331,11 @@
 
  $Description:	Callback function information dialog.
 
- $Returns:		none
+ $Returns:	none
 
  $Arguments:	win - current window
- 				identifier - unique id
- 				reason - window event id
+		identifier - unique id
+		reason - window event id
 
 *******************************************************************************/
 
@@ -393,10 +392,10 @@
 
  $Description:	Callback function for the redial timer.
 
- $Returns:		Execution status
+ $Returns:	Execution status
 
  $Arguments:	event - window event
- 				tc - timer info
+		tc - timer info
 
 *******************************************************************************/
 static int sat_call_setup_tim_cb (T_MFW_EVENT event, T_MFW_TIM *tc)