A lot more would need to be known but yes, sometimes the county can be held liable for injuries to an inmate.

Now, nothing you have stated suggests the county would have any lability in your case but contrary to jacks statement, even if it was another inmate that caused the actual injury, the county is not free from all claims due to just that fact.