Browse Source

Close f_in on error in Lexicon_De.

master
Reece H. Dunn 9 years ago
parent
commit
ae1a016e58
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/extras.cpp

+ 2
- 1
src/extras.cpp View File

/*************************************************************************** /***************************************************************************
* Copyright (C) 2006 to 2011 by Jonathan Duddington * * Copyright (C) 2006 to 2011 by Jonathan Duddington *
* email: [email protected] * * email: [email protected] *
* Copyright (C) 2013 by Reece H. Dunn *
* Copyright (C) 2013-2015 by Reece H. Dunn *
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
if((f_out = fopen("compare_de","w")) == NULL) if((f_out = fopen("compare_de","w")) == NULL)
{ {
wxLogError(_T("Can't write file ")); wxLogError(_T("Can't write file "));
fclose(f_out);
return; return;
} }
LoadVoice("de",0); LoadVoice("de",0);

Loading…
Cancel
Save