[comp.sources.bugs] Bugfix for solx.c

joels@tekred.TEK.COM (Joel Swank) (10/24/87)

Symptom: Auto mode ocasionally dreams up an ace of hearts and duplicates
a row of cards. The fix is a small one line change.

Fix for solx.c
In subroutine autopilot()

	for (i = 0; i < 7; i++)
	  for (j = 0; j < 7; j++)
	    for (k = 0; k < lstlen(run[i]); k++)
>>old	      l = movecard(i + '1', k, j + '1', TRUE) || l;
>>new	      l = movecard(i + '1', k+1, j + '1', TRUE) || l;
	for (i = 0; i < 7; i++)