mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
fix incorrect use of ampersand
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@244 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
96f5891b5d
commit
271d65d1cb
@ -334,7 +334,7 @@ insertTransaction( Account *acc, Transaction *trans )
|
||||
else
|
||||
{
|
||||
dj = &(oldTrans[j]->date);
|
||||
if( (datecmp(dj,dt) > 0) & !inserted )
|
||||
if( (datecmp(dj,dt) > 0) && !inserted )
|
||||
{
|
||||
position = i;
|
||||
acc->transaction[i] = trans;
|
||||
|
@ -562,7 +562,7 @@ htmlRead( char *file )
|
||||
int size=0;
|
||||
int fd;
|
||||
|
||||
/* construct absolute path */
|
||||
/* construct absolute path -- twiddle the relative path we recieved */
|
||||
strcpy (filename, helpPath);
|
||||
strcat (filename, "/");
|
||||
strcat (filename, file);
|
||||
@ -610,7 +610,7 @@ htmlReadImageProc (Widget w, String file)
|
||||
char filename[BUFSIZE];
|
||||
XmImageInfo *retval;
|
||||
|
||||
/* construct absolute path -- twiddle teh relative path we recieved */
|
||||
/* construct absolute path -- twiddle the relative path we recieved */
|
||||
strcpy (filename, helpPath);
|
||||
strcat (filename, "/");
|
||||
strcat (filename, file);
|
||||
@ -642,7 +642,10 @@ htmlResolveImage( Widget mw, char *file, int nl )
|
||||
int err;
|
||||
char filename[BUFSIZE];
|
||||
|
||||
sprintf( (char *)&filename, "%s/%s", helpPath, file );
|
||||
/* construct absolute path -- twiddle the relative path we recieved */
|
||||
strcpy (filename, helpPath);
|
||||
strcat (filename, "/");
|
||||
strcat (filename, file);
|
||||
|
||||
/* initialize stuff: */
|
||||
memset( img, 0, sizeof(ImageInfo) );
|
||||
|
Loading…
Reference in New Issue
Block a user