sr: fix session loading for 0-numbered probes
authorBert Vermeulen <bert@biot.com>
Mon, 23 Jul 2012 12:55:43 +0000 (14:55 +0200)
committerBert Vermeulen <bert@biot.com>
Fri, 3 Aug 2012 09:28:59 +0000 (11:28 +0200)
commit86aabbc0f6cbcce46f3009dd36b097e064bf6eb7
treedcb448e92da1bc318b066a87c2103373fee12bba
parent6bc2839db4b5e500760ce3af0c0e3cbfa5717391
sr: fix session loading for 0-numbered probes

They're still numbered starting from 1 in the current version (1)
of the sigrok file format, we just work around that for now.
libsigrok/session_file.c