Even worse. I once lived in a small complex where there was a tiny laundry room, just big enough for a washer and a dryer. The dryer was electric, and it was vented directly into the room (just blew out the back of the dryer against the wall). Needless to say, clothes took forever to dry in that thing. On top of that, the landlady was lax in emptying the coin bin, so it would regularly jam and not accept any more coins, leaving one with steaming damp laundry and throbbing temple veins. I tried to explain to the mentally defective landlady that she really needed to vent the dryer to the great outdoors, but she wouldn't hear of it.
I finally shoehorned a little WCI gas dryer into my kichen next to the gas range, vented out through an unused stove vent (house was built way back when stoves had to be vented). That worked great, the lined flue was about 8" wide, and had a great draft.
But back to the subject. Toggles is absolutely right; it's a no-no to vent two gas appliances through one vent. People sometimes try to do this with gas water heaters and gas furnaces, and wind up wondering why there's so much soot in the house.