https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ce562727b8c5660a43900d3d0732611a5ffda4be

commit ce562727b8c5660a43900d3d0732611a5ffda4be
Author:     Atharva Kulkarni <[email protected]>
AuthorDate: Sun Apr 2 22:49:21 2023 +0530
Commit:     GitHub <[email protected]>
CommitDate: Sun Apr 2 19:19:21 2023 +0200

    [MSI] Fix empty disc costing (Terragen, ...) (#5201)
    
    
    JIRA issue: CORE-18749
---
 dll/win32/msi/dialog.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dll/win32/msi/dialog.c b/dll/win32/msi/dialog.c
index 1bea93dc081..7050d353bb7 100644
--- a/dll/win32/msi/dialog.c
+++ b/dll/win32/msi/dialog.c
@@ -3159,6 +3159,15 @@ static void msi_dialog_vcl_add_columns( msi_dialog 
*dialog, msi_control *control
          * if a width is invalid, all remaining columns are hidden
          */
         if ( !wcsncmp( num, L"-", 1 ) || !str_is_number( num ) ) {
+#ifdef __REACTOS__
+                   // Skip in case of prefix the string of displayed 
characters with {\style} or {&style}.
+            if (count == 0 && (!wcsncmp(num, L"\\", 1) || !wcsncmp(num, L"&", 
1)))
+            {
+                FIXME("Style prefix not supported\n");
+                msi_free(num);
+                continue;
+            }
+#endif
             msi_free( num );
             return;
         }

Reply via email to