xournalpp/xournalpp-return.patch
Atri Bhattacharya 463f96dcf3 Accepting request 1102041 from home:ithod:updated
- update to 1.2.0:
  * Added PDF text selection tools
  * Added Setsquare Tool and Compass Tool
  * Many more changes; for the full list, see
    https://github.com/xournalpp/xournalpp/blob/release-1.2/CHANGELOG.md
- remove xournalpp-include.patch, fixed upstream
- Add xournalpp-return.patch: Fix control reaches end of non-void function

OBS-URL: https://build.opensuse.org/request/show/1102041
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xournalpp?expand=0&rev=41
2023-08-02 16:27:51 +00:00

11 lines
410 B
Diff

--- xournalpp-1.2.0-orig/src/core/pdf/popplerapi/PopplerGlibPage.cpp 2023-07-29 23:28:24.000000000 +0200
+++ xournalpp-1.2.0/src/core/pdf/popplerapi/PopplerGlibPage.cpp 2023-08-02 17:13:44.165492360 +0200
@@ -109,6 +109,7 @@
return POPPLER_SELECTION_GLYPH;
default:
g_assert(false && "unimplemented");
+ return POPPLER_SELECTION_WORD; // never reached
}
}