Skip to content

Commit

Permalink
afwrtsys.h: Fix msvc bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sibras committed Oct 1, 2021
1 parent 0bc13c9 commit 0f612ce
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions SMP/SMP.patch
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ index cb1c7340e..e89907bca 100644
if ( file == INVALID_HANDLE_VALUE )
{
FT_ERROR(( "FT_Stream_Open:" ));
diff --git a/src/autofit/afwrtsys.h b/src/autofit/afwrtsys.h
index 39aa12112..81e6108b9 100644
--- a/src/autofit/afwrtsys.h
+++ b/src/autofit/afwrtsys.h
@@ -27,6 +27,8 @@
#include "afcjk.h"
#include "afindic.h"

+#else
+
#endif /* AFWRTSYS_H_ */


diff --git a/src/base/ftver.rc b/src/base/ftver.rc
index 5fe433cbd..877a5fcc6 100644
--- a/src/base/ftver.rc
Expand Down
2 changes: 2 additions & 0 deletions src/autofit/afwrtsys.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include "afcjk.h"
#include "afindic.h"

#else

#endif /* AFWRTSYS_H_ */


Expand Down

1 comment on commit 0f612ce

@vadosnaprimer
Copy link

@vadosnaprimer vadosnaprimer commented on 0f612ce Oct 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

I thought I was going crazy with how it stably fails to populate af_writing_system_classes[] in the newest version, despite the code being identical to the older, working version. What kind of msvc bug is this?

EDIT:

Nevermind, found #1

Please sign in to comment.