Branch: refs/heads/master Author: Nick Treleaven nick.treleaven@btinternet.com Committer: Nick Treleaven nick.treleaven@btinternet.com Date: Wed, 24 Oct 2012 16:43:26 Commit: 00c2cc20eaacd9ef26e89ab0c0c7a009a8f64118 https://github.com/geany/geany/commit/00c2cc20eaacd9ef26e89ab0c0c7a009a8f641...
Log Message: ----------- Fix gcc missing field initializer warning
Modified Paths: -------------- src/printing.c
Modified: src/printing.c 3 files changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -472,7 +472,8 @@ static void printing_print_gtk(GeanyDocument *doc) GtkPrintOperation *op; GtkPrintOperationResult res = GTK_PRINT_OPERATION_RESULT_ERROR; GError *error = NULL; - DocInfo dinfo = { 0 }; + static const DocInfo dinfo0; + DocInfo dinfo = dinfo0; PrintWidgets *widgets;
/** TODO check for monospace font, detect the widest character in the font and
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).