~ubuntu-branches/ubuntu/trusty/gabedit/trusty-proposed

« back to all changes in this revision

Viewing changes to src/Utils/HydrogenBond.c

  • Committer: Package Import Robot
  • Author(s): Daniel Leidert (dale)
  • Date: 2012-03-20 23:23:56 UTC
  • mfrom: (1.3.19)
  • Revision ID: package-import@ubuntu.com-20120320232356-40hlj06cauc6pm5o
Tags: 2.4.2-1
* New upstream release.
* debian/control: Used wrap-and-sort.
  (Standards-Version): Bumped to 3.9.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*HydrogenBond.c*/
2
2
/**********************************************************************************************************
3
 
Copyright (c) 2002-2011 Abdul-Rahman Allouche. All rights reserved
 
3
Copyright (c) 2002-2012 Abdul-Rahman Allouche. All rights reserved
4
4
 
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6
6
documentation files (the Gabedit), to deal in the Software without restriction, including without limitation
94
94
        initHBonds();
95
95
        hbondsfile = g_strdup_printf("%s%shbonds",gabedit_directory(),G_DIR_SEPARATOR_S);
96
96
 
97
 
        file = FOpen(hbondsfile, "r");
 
97
        file = FOpen(hbondsfile, "rb");
98
98
        if(!file) return;
99
99
 
100
100
        n = fscanf(file,"%lf\n",&minDistance);