File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Files.App/Helpers/Application Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,8 +130,8 @@ public static bool UpdateTitleBar(Window window)
130130 var exStyle = PInvoke . GetWindowLongPtr ( hwnd , WINDOW_LONG_PTR_INDEX . GWL_EXSTYLE ) ;
131131
132132 exStyle = PreferredCulture . TextInfo . IsRightToLeft
133- ? new IntPtr ( ( uint ) exStyle | ( uint ) WINDOW_EX_STYLE . WS_EX_LAYOUTRTL ) // Set RTL layout
134- : new IntPtr ( ( uint ) exStyle . ToInt64 ( ) & ~ ( uint ) WINDOW_EX_STYLE . WS_EX_LAYOUTRTL ) ; // Set LTR layout
133+ ? new ( ( uint ) exStyle | ( uint ) WINDOW_EX_STYLE . WS_EX_LAYOUTRTL ) // Set RTL layout
134+ : new ( ( uint ) exStyle . ToInt64 ( ) & ~ ( uint ) WINDOW_EX_STYLE . WS_EX_LAYOUTRTL ) ; // Set LTR layout
135135
136136 if ( PInvoke . SetWindowLongPtr ( hwnd , WINDOW_LONG_PTR_INDEX . GWL_EXSTYLE , exStyle ) == 0 )
137137 return false ;
You can’t perform that action at this time.
0 commit comments