Skip to content

Commit

Permalink
Fix segfault on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoltán Kovács authored and Zoltán Kovács committed Jan 4, 2025
1 parent d822009 commit 7333602
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qt/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ extern string text[2];
extern vector<bool> textset;
extern string collect_info;
extern string ot_color, nt_color, reset_color, error_color;
extern char* output_prepend_set;

string lookupText = "LXX Genesis 1:1"; // example
string extendText = "LXX StatResGNT Romans 3:13"; // example
Expand Down Expand Up @@ -113,6 +114,8 @@ MainWindow::MainWindow()
nt_color = "<span style=\"color: #006662\">";
reset_color = "</span>";
error_color = "<span style=\"color: red\">";
output_prepend_set = (char *)malloc(1);
output_prepend_set[0] = '\0';
}

void addBiblesThread(MainWindow *window)
Expand Down

0 comments on commit 7333602

Please sign in to comment.